diff options
-rw-r--r-- | yaksh/tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/yaksh/tests.py b/yaksh/tests.py index 9b5971c..8bd2dda 100644 --- a/yaksh/tests.py +++ b/yaksh/tests.py @@ -230,9 +230,8 @@ 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, - tzinfo=pytz.utc.zone) - ) + datetime(2199, 1, 1, 0, 0, 0, 0, tzinfo=pytz.utc) + ) self.assertEqual(trial_quiz.time_between_attempts, 0) def test_create_trial_from_quiz_usermode(self): |