Skip to content

Commit

Permalink
Reformat multi-line statement in an attempt to appease black
Browse files Browse the repository at this point in the history
  • Loading branch information
eecavanna authored Aug 13, 2024
1 parent 16e38ab commit 11cfe6b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ def test_login(client: TestClient):
)

assert resp.status_code == 302
assert resp.next.url.startswith("https://orcid.org/oauth/authorize") or \
resp.next.url.startswith("https://sandbox.orcid.org/oauth/authorize") # type: ignore
assert any((
resp.next.url.startswith("https://orcid.org/oauth/authorize"), # type: ignore
resp.next.url.startswith("https://sandbox.orcid.org/oauth/authorize"), # type: ignore
))


def test_current_user(client: TestClient, logged_in_user):
Expand Down

0 comments on commit 11cfe6b

Please sign in to comment.