diff options
author | maheshgudi | 2016-07-07 15:42:38 +0530 |
---|---|---|
committer | maheshgudi | 2016-07-11 16:10:55 +0530 |
commit | 7394f857c41865ae32b50c18609362ac5397ec4c (patch) | |
tree | dc1162619970181a0e204ad199578cb868fa9217 /yaksh/tests.py | |
parent | f1f9818a397a954acf3bce134ea278fafca81a08 (diff) | |
download | online_test-7394f857c41865ae32b50c18609362ac5397ec4c.tar.gz online_test-7394f857c41865ae32b50c18609362ac5397ec4c.tar.bz2 online_test-7394f857c41865ae32b50c18609362ac5397ec4c.zip |
minor timezone related changes in models and test cases
Diffstat (limited to 'yaksh/tests.py')
-rw-r--r-- | yaksh/tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yaksh/tests.py b/yaksh/tests.py index e65e699..9b5971c 100644 --- a/yaksh/tests.py +++ b/yaksh/tests.py @@ -230,8 +230,9 @@ class QuizTestCases(unittest.TestCase): self.assertEqual(trial_quiz.duration, 1000) self.assertTrue(trial_quiz.active) self.assertEqual(trial_quiz.end_date_time, - datetime(2199, 1, 1, 0, 0, 0, 0) - ) + datetime(2199, 1, 1, 0, 0, 0, 0, + tzinfo=pytz.utc.zone) + ) self.assertEqual(trial_quiz.time_between_attempts, 0) def test_create_trial_from_quiz_usermode(self): |