Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jul 8, 2024
1 parent 75085f1 commit 5b2b1de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 5b2b1de

Please sign in to comment.