Skip to content

Commit 11cfe6b

Browse files
authored
Reformat multi-line statement in an attempt to appease black
1 parent 16e38ab commit 11cfe6b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_auth.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ def test_login(client: TestClient):
1414
)
1515

1616
assert resp.status_code == 302
17-
assert resp.next.url.startswith("https://orcid.org/oauth/authorize") or \
18-
resp.next.url.startswith("https://sandbox.orcid.org/oauth/authorize") # type: ignore
17+
assert any((
18+
resp.next.url.startswith("https://orcid.org/oauth/authorize"), # type: ignore
19+
resp.next.url.startswith("https://sandbox.orcid.org/oauth/authorize"), # type: ignore
20+
))
1921

2022

2123
def test_current_user(client: TestClient, logged_in_user):

0 commit comments

Comments
 (0)