mirror of https://github.com/zulip/zulip.git
analytics: Change TIME_ZERO in tests to be in the past.
This commit is contained in:
parent
d95fb33d8d
commit
c6a6c871ee
|
@ -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