summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2017-01-13 17:00:44 +0530
committerprathamesh2017-01-13 17:00:44 +0530
commit51ddfe4b5876c99077db9de130eec01a40787d59 (patch)
tree4951c40ade87e2679b42b71ee8f392496c6fe880
parentc70c38dd55e159a5e7aa6706bb23bb8e70ca10bd (diff)
downloadonline_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.py4
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