Skip to content

Commit

Permalink
Fixed a few tiny ruff findings
Browse files Browse the repository at this point in the history
Change-Id: I13df8743e9d9cbe809f19a8a56822f4f584b97e3
  • Loading branch information
spt29 committed Sep 19, 2024
1 parent c242748 commit 6a1ed22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/cmk/gui/test_login.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def test_rest_api_access_with_enabled_2fa(site: Site) -> None:
auth=(username, password),
expected_code=401,
)
assert not "site" in response.json()
assert "site" not in response.json()
assert not session.is_logged_in()


Expand Down Expand Up @@ -400,5 +400,5 @@ def test_rest_api_access_by_cookie_2fa(site: Site) -> None:
f"/{site.id}/check_mk/api/1.0/version",
expected_code=401,
)
assert not "site" in response.json()
assert "site" not in response.json()
assert not session.is_logged_in()

0 comments on commit 6a1ed22

Please sign in to comment.