Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jardon committed Mar 8, 2022
1 parent b343d15 commit 770885c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def test_minio_console_port_args(harness):
":9999",
]


def test_install_with_all_inputs(harness):
harness.set_leader(True)
harness.add_oci_resource(
Expand Down Expand Up @@ -355,10 +356,6 @@ def test_install_with_all_inputs(harness):
yaml.safe_dump(pod_spec)
assert harness.charm.model.unit.status == ActiveStatus()

charm_name = harness.model.app.name
secrets = pod_spec[0]["kubernetesResources"]["secrets"]
env_config = pod_spec[0]["containers"][0]["envConfig"]

pod_spec_secrets = pod_spec[0]["kubernetesResources"]["secrets"]
pod_spec_secret_key = pod_spec_secrets[0]["data"]["MINIO_SECRET_KEY"]
pod_spec_access_key = pod_spec_secrets[0]["data"]["MINIO_ACCESS_KEY"]
Expand All @@ -370,4 +367,4 @@ def test_install_with_all_inputs(harness):
"azure",
"--console-address",
":9001",
]
]

0 comments on commit 770885c

Please sign in to comment.