Skip to content

Commit a1b34db

Browse files
authored
Add AsyncSession class and update tests (#427)
Add AsyncSession class and update tests.
1 parent f779bcb commit a1b34db

File tree

4 files changed

+626
-371
lines changed

4 files changed

+626
-371
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def wrapper(*args, **kwargs):
314314
# Create mock JWKS client
315315
mock_jwks = Mock(spec=PyJWKClient)
316316
mock_signing_key = Mock()
317-
mock_signing_key.key = kwargs["TEST_CONSTANTS"]["PUBLIC_KEY"]
317+
mock_signing_key.key = kwargs["session_constants"]["PUBLIC_KEY"]
318318
mock_jwks.get_signing_key_from_jwt.return_value = mock_signing_key
319319

320320
# Apply the mock

0 commit comments

Comments
 (0)