Skip to content

Commit 661099c

Browse files
committed
minor fix
1 parent 85d7da7 commit 661099c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

services/web/server/tests/unit/with_dbs/03/login/test_login_registration.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# pylint: disable=unused-argument
44
# pylint: disable=unused-variable
55

6-
from datetime import timedelta
6+
from datetime import UTC, datetime, timedelta
77
from http import HTTPStatus
88

99
import pytest
@@ -521,8 +521,6 @@ async def test_registraton_with_invitation_for_trial_account(
521521
data, _ = await assert_status(response, status.HTTP_200_OK)
522522
profile = MyProfileRestGet.model_validate(data)
523523

524-
from datetime import UTC, datetime
525-
526524
created_at = invitation.user.get("created_at") or datetime.now(UTC)
527525
expected = created_at + timedelta(days=TRIAL_DAYS)
528526
assert profile.expiration_date

0 commit comments

Comments
 (0)