mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
9 lines
264 B
Python
9 lines
264 B
Python
from django.utils import timezone
|
|
|
|
from archivebox.workers.models import RETRY_AT_MAX
|
|
|
|
|
|
def test_retry_at_max_is_safe_for_admin_timezone_localization():
|
|
with timezone.override("Pacific/Kiritimati"):
|
|
assert timezone.localtime(RETRY_AT_MAX).year == 9999
|