Skip to content

Commit

Permalink
tests dependency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
francastell committed Feb 23, 2024
1 parent 7508724 commit cb363a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/core/test_security.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import pytest
from fastapi import HTTPException
from fastapi.security import HTTPAuthorizationCredentials, SecurityScopes
from geneweaver.api.core.config import settings
from geneweaver.api.core.exceptions import (
Auth0UnauthenticatedException,
Auth0UnauthorizedException,
Expand Down Expand Up @@ -41,7 +40,9 @@ def do_auth():
auth = Auth0(
domain=test_domain,
api_audience=test_audience,
scopes=settings.AUTH_SCOPES,
scopes={
"openid profile email": "read",
},
auto_error=True,
email_auto_error=True,
)
Expand Down

0 comments on commit cb363a4

Please sign in to comment.