From 69faadc399fd9e41a9afe12017d7117c9067eb43 Mon Sep 17 00:00:00 2001 From: yazansalti Date: Thu, 7 Mar 2024 13:44:53 +0400 Subject: [PATCH] Replaces add_relation with integrate --- tests/integration/test_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_integration.py b/tests/integration/test_integration.py index b88cb8d..bbfa852 100644 --- a/tests/integration/test_integration.py +++ b/tests/integration/test_integration.py @@ -75,7 +75,7 @@ async def test_given_tls_requirer_is_deployed_and_related_then_status_is_active( build_and_deploy, ): assert ops_test.model - await ops_test.model.add_relation( + await ops_test.model.integrate( relation1=f"{APP_NAME}:certificates", relation2=f"{TLS_REQUIRER_CHARM_NAME}" ) await ops_test.model.wait_for_idle(