From f308bd95d2da43d2ca35954aa12291ccc2883283 Mon Sep 17 00:00:00 2001 From: Pedro Guimaraes Date: Sat, 24 Feb 2024 20:50:49 +0100 Subject: [PATCH] Add lint fix --- tests/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 30cc5e00f..60fdaf947 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -20,9 +20,9 @@ def juju_has_secrets(mocker: MockerFixture): juju_version = juju_version[2:] # Removing == symbol 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 mocker.patch.object(JujuVersion, "has_secrets", new_callable=PropertyMock).return_value = True