diff --git a/tests/integration/test_charm.py b/tests/integration/test_charm.py index 1186dbc4..994bd4ad 100644 --- a/tests/integration/test_charm.py +++ b/tests/integration/test_charm.py @@ -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 @@ -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) @@ -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)