diff --git a/tests/test_account_lease_reaper.py b/tests/test_account_lease_reaper.py index 3cb6be0..9182d9b 100644 --- a/tests/test_account_lease_reaper.py +++ b/tests/test_account_lease_reaper.py @@ -19,7 +19,7 @@ from web.backend.models import ( from web.backend.services import account_pool as pool from web.backend.services.automation.jobs import account_lease_reaper as reaper -NOW = datetime(2026, 10, 7, 12, 0, 0, tzinfo=UTC) +NOW = datetime.now(UTC).replace(microsecond=0) class _ReaperBase: diff --git a/tests/test_account_pool.py b/tests/test_account_pool.py index a872517..ff9a04b 100644 --- a/tests/test_account_pool.py +++ b/tests/test_account_pool.py @@ -19,7 +19,7 @@ from tests.support.db import get_test_engine, make_test_session from web.backend.models import Account, AccountEvent, AccountLease, DouyuTask, User from web.backend.services import account_pool as pool -NOW = datetime(2026, 10, 7, 10, 0, 0, tzinfo=UTC) +NOW = datetime.now(UTC).replace(microsecond=0) COMMODITY = "20260120QYOOB_bag10"