diff options
author | prathamesh | 2017-01-13 17:00:44 +0530 |
---|---|---|
committer | prathamesh | 2017-01-13 17:00:44 +0530 |
commit | 51ddfe4b5876c99077db9de130eec01a40787d59 (patch) | |
tree | 4951c40ade87e2679b42b71ee8f392496c6fe880 | |
parent | c70c38dd55e159a5e7aa6706bb23bb8e70ca10bd (diff) | |
download | online_test-51ddfe4b5876c99077db9de130eec01a40787d59.tar.gz online_test-51ddfe4b5876c99077db9de130eec01a40787d59.tar.bz2 online_test-51ddfe4b5876c99077db9de130eec01a40787d59.zip |
rectified the test for mcq incorrect.
-rw-r--r-- | yaksh/test_models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py index 1a6bcba..91d8806 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -609,7 +609,7 @@ class AnswerPaperTestCases(unittest.TestCase): def test_mcq_incorrect_answer(self): # Given - mcq_answer = 'a' + mcq_answer = 'b' self.answer = Answer(question=self.question2, answer=mcq_answer, ) @@ -623,7 +623,7 @@ class AnswerPaperTestCases(unittest.TestCase): ) # Then - self.assertTrue(result['success']) + self.assertFalse(result['success']) def test_mcc_incorrect_answer(self): # Given |