diff --git a/tests/integration/test_integration.py b/tests/integration/test_integration.py index 5aa8ec9..0218cb3 100644 --- a/tests/integration/test_integration.py +++ b/tests/integration/test_integration.py @@ -27,6 +27,7 @@ REQUIRER_CHARM_REVISION_ARM = 103 REQUIRER_CHARM_REVISION_AMD = 104 + async def wait_for_requirer_certificates(ops_test: OpsTest, ca_common_name: str) -> Dict[str, str]: """Wait for the certificate to be provided to the `tls-requirer-requirer/0` unit. @@ -84,12 +85,12 @@ async def deploy(ops_test: OpsTest, request): constraints={"arch": ARCH}, ) if ARCH == "arm64": - await ops_test.model.deploy( - TLS_REQUIRER_CHARM_NAME, - application_name=TLS_REQUIRER_CHARM_NAME, - revision=REQUIRER_CHARM_REVISION_ARM, - constraints={"arch": ARCH}, - ) + await ops_test.model.deploy( + TLS_REQUIRER_CHARM_NAME, + application_name=TLS_REQUIRER_CHARM_NAME, + revision=REQUIRER_CHARM_REVISION_ARM, + constraints={"arch": ARCH}, + ) await ops_test.model.deploy( TLS_REQUIRER_CHARM_NAME, application_name=TLS_REQUIRER_CHARM_NAME,