From 8efada5000c62b70e2f0bc39390a621572812ea4 Mon Sep 17 00:00:00 2001 From: Pedro Guimaraes Date: Sat, 24 Feb 2024 20:44:07 +0100 Subject: [PATCH] Revert cache and move it to DPE-3306 --- tests/conftest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 60fdaf947..30cc5e00f 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