analytics: Change TIME_ZERO in tests to be in the past.

This commit is contained in:
Rishi Gupta 2016-12-18 09:54:20 -08:00
parent 35d338a413
commit 41e8ee3ab4

View File

@ -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):