We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b072a commit 7a2cdeaCopy full SHA for 7a2cdea
tests/test_auth.py
@@ -14,12 +14,7 @@ def test_login(client: TestClient):
14
)
15
16
assert resp.status_code == 302
17
- assert any(
18
- (
19
- resp.next.url.startswith("https://orcid.org/oauth/authorize"), # type: ignore
20
- resp.next.url.startswith("https://sandbox.orcid.org/oauth/authorize"), # type: ignore
21
- )
22
+ assert resp.next.url.startswith(settings.orcid_base_url), # type: ignore
23
24
25
def test_current_user(client: TestClient, logged_in_user):
0 commit comments