Skip to content

Commit

Permalink
Update tests/unit/test_charm.py
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Gildein <[email protected]>
  • Loading branch information
DnPlas and rgildein authored Jul 24, 2024
1 parent 84153bf commit cc36aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def test_dex_oidc_config_with_data(harness):
rel_data = harness.model.get_relation(DEX_OIDC_CONFIG_RELATION, rel_id).data[harness.model.app]

# Default values are expected
expected = {"issuer-url": f"http://{harness.model.app.name}.{harness.model.name}.svc:5556/dex"}
assert rel_data["issuer-url"] == expected["issuer-url"]
expected_url = f"http://{harness.model.app.name}.{harness.model.name}.svc:5556/dex"
assert rel_data["issuer-url"] == expected_url


@patch("charm.KubernetesServicePatch", lambda *_, **__: None)
Expand Down

0 comments on commit cc36aa1

Please sign in to comment.