summaryrefslogtreecommitdiff
path: root/testapp/exam/tests.py
diff options
context:
space:
mode:
authorprathamesh2014-06-27 17:29:33 +0530
committerprathamesh2014-06-27 17:29:33 +0530
commitc7a2f3c83f0d53741e53e0e21276aefaea8a5c28 (patch)
tree15ad3a81f86e5c362262b0744e70ae7a6d4d058b /testapp/exam/tests.py
parentfaacb5ba720abc9660e1afa12c9a3c4d0761254f (diff)
parent3c82dd0faf2f1273cb590b360a9696a973b30720 (diff)
downloadonline_test-c7a2f3c83f0d53741e53e0e21276aefaea8a5c28.tar.gz
online_test-c7a2f3c83f0d53741e53e0e21276aefaea8a5c28.tar.bz2
online_test-c7a2f3c83f0d53741e53e0e21276aefaea8a5c28.zip
Merge branch 'model_modification' into multiple_correct_type
Diffstat (limited to 'testapp/exam/tests.py')
-rw-r--r--testapp/exam/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testapp/exam/tests.py b/testapp/exam/tests.py
index eb63ba4..d76e4f8 100644
--- a/testapp/exam/tests.py
+++ b/testapp/exam/tests.py
@@ -273,10 +273,10 @@ class AnswerPaperTestCases(unittest.TestCase):
self.answerpaper.update_percent()
self.assertEqual(self.answerpaper.percent, 33.33)
- def test_update_result(self):
- """ Test update_result() method of AnswerPaper"""
- self.answerpaper.update_result()
- self.assertFalse(self.answerpaper.result)
+ def test_update_passed(self):
+ """ Test update_passed method of AnswerPaper"""
+ self.answerpaper.update_passed()
+ self.assertFalse(self.answerpaper.passed)
def test_get_question_answer(self):
""" Test get_question_answer() method of Answer Paper"""