diff --git a/tests/integration/test_charm.py b/tests/integration/test_charm.py index bc6e51c7..7fd69659 100644 --- a/tests/integration/test_charm.py +++ b/tests/integration/test_charm.py @@ -52,6 +52,7 @@ @pytest.mark.abort_on_fail +@pytest.mark.skip_if_deployed async def test_deploy_charms( ops_test: OpsTest, application_charm, @@ -1176,6 +1177,13 @@ async def test_provider_get_set_delete_fields_secrets( await action.wait() assert action.results["return-code"] == 0 + action = await ops_test.model.units.get(leader_name).run_action( + "delete-relation-field", + **{"relation_id": pytest.second_database_relation.id, "field": "tls-ca"}, + ) + await action.wait() + assert action.results["return-code"] == 0 + @pytest.mark.abort_on_fail @pytest.mark.log_errors_allowed("Can't delete secret for relation")