diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index c7a67107..5d784054 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -52,14 +52,14 @@ def juju_has_secrets(mocker: MockerFixture, request): """ juju_version = os.environ["LIBJUJU_VERSION_SPECIFIER"].split("/")[0] if juju_version < "3": - mocker.patch.object( - JujuVersion, "has_secrets", new_callable=PropertyMock - ).return_value = False + mocker.patch.object(JujuVersion, "has_secrets", new_callable=PropertyMock).return_value = ( + False + ) return False else: - mocker.patch.object( - JujuVersion, "has_secrets", new_callable=PropertyMock - ).return_value = True + mocker.patch.object(JujuVersion, "has_secrets", new_callable=PropertyMock).return_value = ( + True + ) return True