mirror of
https://github.com/zulip/zulip.git
synced 2026-06-18 21:01:52 +08:00
analytics: Change TIME_ZERO in tests to be in the past.
This commit is contained in:
parent
35d338a413
commit
41e8ee3ab4
@ -20,7 +20,7 @@ class AnalyticsTestCase(TestCase):
|
||||
MINUTE = timedelta(seconds = 60)
|
||||
HOUR = MINUTE * 60
|
||||
DAY = HOUR * 24
|
||||
TIME_ZERO = datetime(2042, 3, 14).replace(tzinfo=timezone.utc)
|
||||
TIME_ZERO = datetime(1988, 3, 14).replace(tzinfo=timezone.utc)
|
||||
TIME_LAST_HOUR = TIME_ZERO - HOUR
|
||||
|
||||
def setUp(self):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user