Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/unit/h/services/jwt_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def test_decode_symmetric_with_invalid_key(self, service, payload):
expires_in=timedelta(hours=1),
issuer="test_issuer",
audience="test_audience",
_signing_key="invalid_key",
_signing_key="a_wrong_signing_key_at_least_32_bytes",
)

with pytest.raises(JWTDecodeError) as exc_info:
Expand Down Expand Up @@ -293,7 +293,7 @@ def clear_jwk_cache(self, service):

@pytest.fixture
def service(self):
return JWTService(jwt_signing_key="test_jwt_signing_key")
return JWTService(jwt_signing_key="test_jwt_signing_key_at_least_32_bytes")


class TestFactory:
Expand Down
Loading