diff --git a/apps/api/tests/test_guest_auth.py b/apps/api/tests/test_guest_auth.py index 2765d531..dc2c4c3c 100644 --- a/apps/api/tests/test_guest_auth.py +++ b/apps/api/tests/test_guest_auth.py @@ -42,7 +42,9 @@ def test_can_validate_key() -> None: async def test_get_existing_unexpired_key(mock_mongodb_retrieve_one: AsyncMock) -> None: """Test that existing, unexpired guest authorization key can be retrieved.""" iat = datetime(2024, 1, 11) - exp = datetime(2025, 7, 1, tzinfo=timezone.utc) # update expire date for this test to not fail :) + exp = datetime( + 2025, 7, 1, tzinfo=timezone.utc + ) # update expire date for this test to not fail :) # this test will fail next year :P mock_mongodb_retrieve_one.return_value = { "guest_auth": {"iat": iat, "exp": exp, "key": "some-key"}