Skip to content

Commit

Permalink
Add lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima committed Feb 24, 2024
1 parent 8efada5 commit f308bd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f308bd9

Please sign in to comment.