Skip to content

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
juditnovak committed Sep 20, 2023
1 parent 3cf6484 commit ffd22a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
MULTIPLE_DATABASE_CLUSTERS_RELATION_NAME = "multiple-database-clusters"
ALIASED_MULTIPLE_DATABASE_CLUSTERS_RELATION_NAME = "aliased-multiple-database-clusters"

SECRET_REF_PREFIX = "secret-"
PROV_SECRET_PREFIX = "secret-"


@pytest.mark.abort_on_fail
Expand Down Expand Up @@ -300,7 +300,7 @@ async def test_provider_with_additional_secrets(ops_test: OpsTest, database_char

# Get secret original value
secret_uri = await get_application_relation_data(
ops_test, APPLICATION_APP_NAME, SECOND_DATABASE_RELATION_NAME, f"{SECRET_REF_PREFIX}extra"
ops_test, APPLICATION_APP_NAME, SECOND_DATABASE_RELATION_NAME, f"{PROV_SECRET_PREFIX}extra"
)

secret_content = await get_juju_secret(ops_test, secret_uri)
Expand All @@ -315,7 +315,7 @@ async def test_provider_with_additional_secrets(ops_test: OpsTest, database_char

# Get secret after change
secret_uri = await get_application_relation_data(
ops_test, APPLICATION_APP_NAME, SECOND_DATABASE_RELATION_NAME, f"{SECRET_REF_PREFIX}extra"
ops_test, APPLICATION_APP_NAME, SECOND_DATABASE_RELATION_NAME, f"{PROV_SECRET_PREFIX}extra"
)

secret_content = await get_juju_secret(ops_test, secret_uri)
Expand Down

0 comments on commit ffd22a9

Please sign in to comment.