From bd7cba69ea326994115b68c2ed7632aac6bba03a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Siwek?= Date: Wed, 27 Dec 2023 18:06:05 +0100 Subject: [PATCH] use existing time function --- tests/integration/test_charm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_charm.py b/tests/integration/test_charm.py index 603f424..75b16d0 100644 --- a/tests/integration/test_charm.py +++ b/tests/integration/test_charm.py @@ -34,7 +34,7 @@ async def test_successfull_deploy_senario(self, ops_test: OpsTest): await ops_test.model.relate(RELATIONAL_DB_CHARM_NAME, CHARM_NAME) - time.wait(10) # Wait for relation to get active setup + time.sleep(10) # Wait for relation to get active setup await ops_test.model.wait_for_idle( apps=[RELATIONAL_DB_CHARM_NAME, CHARM_NAME],