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 committed by Tim Abbott
parent d95fb33d8d
commit c6a6c871ee
1 changed files with 1 additions and 1 deletions

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