We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e654597 commit b2a6692Copy full SHA for b2a6692
1 file changed
tests/unit/test_sessions_additional.py
@@ -227,9 +227,9 @@ async def test_rotate_refresh_session_rejects_missing_user_and_expired_session()
227
session_id=uuid4(),
228
id=uuid4(),
229
user_id=uuid4(),
230
- hashed_refresh_token=RefreshTokenHasher.from_secret(TEST_REFRESH_TOKEN_HASH_SECRET).hash_token(
231
- "refresh-token"
232
- ),
+ hashed_refresh_token=RefreshTokenHasher.from_secret(
+ TEST_REFRESH_TOKEN_HASH_SECRET
+ ).hash_token("refresh-token"),
233
auth_time=datetime.now(UTC),
234
expires_at=datetime.now(UTC) - timedelta(seconds=1),
235
revoked_at=None,
0 commit comments