Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Sep 22, 2022
1 parent 7585098 commit 75cf999
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/rest/client/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def test_ui_auth_fails_for_incorrect_sso_user(self) -> None:
"enabled": True,
"require_approval_for_new_accounts": True,
}
}
},
}
)
def test_sso_not_approved(self) -> None:
Expand Down
4 changes: 3 additions & 1 deletion tests/rest/client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ def login_via_oidc(
"/login",
content={"type": "m.login.token", "token": login_token},
)
assert channel.code == expected_status, f"unexpected status in response: {channel.code}"
assert (
channel.code == expected_status
), f"unexpected status in response: {channel.code}"
return channel.json_body

def auth_via_oidc(
Expand Down

0 comments on commit 75cf999

Please sign in to comment.