summaryrefslogtreecommitdiff
path: root/yaksh/tests.py
diff options
context:
space:
mode:
authormaheshgudi2016-07-07 15:47:13 +0530
committermaheshgudi2016-07-11 16:10:55 +0530
commitf1fd7ece4fed04c333df436e39fd89f37133070e (patch)
treeb728de0a90aebb84278427a7cf6a96974ec6426c /yaksh/tests.py
parent7394f857c41865ae32b50c18609362ac5397ec4c (diff)
downloadonline_test-f1fd7ece4fed04c333df436e39fd89f37133070e.tar.gz
online_test-f1fd7ece4fed04c333df436e39fd89f37133070e.tar.bz2
online_test-f1fd7ece4fed04c333df436e39fd89f37133070e.zip
corrected minor change
Diffstat (limited to 'yaksh/tests.py')
-rw-r--r--yaksh/tests.py5
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):