summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests
diff options
context:
space:
mode:
authormahesh2018-02-08 15:19:27 +0530
committermaheshgudi2018-03-16 15:15:50 +0530
commit1c8bc4aaadb307b14cb4e673485bf2405e921543 (patch)
tree238b8a2b68febad913605b5dd47e456056131823 /yaksh/evaluator_tests
parent21181922ee2b4d69fa62ae9725fcda759b475b80 (diff)
downloadonline_test-1c8bc4aaadb307b14cb4e673485bf2405e921543.tar.gz
online_test-1c8bc4aaadb307b14cb4e673485bf2405e921543.tar.bz2
online_test-1c8bc4aaadb307b14cb4e673485bf2405e921543.zip
Improve test cases for TestCaseOrder model
Diffstat (limited to 'yaksh/evaluator_tests')
-rw-r--r--yaksh/evaluator_tests/test_simple_question_types.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/evaluator_tests/test_simple_question_types.py b/yaksh/evaluator_tests/test_simple_question_types.py
index cbf2abd..c952884 100644
--- a/yaksh/evaluator_tests/test_simple_question_types.py
+++ b/yaksh/evaluator_tests/test_simple_question_types.py
@@ -554,6 +554,7 @@ class MCQQuestionTestCases(unittest.TestCase):
attempt_num=1,
course_id=self.course.id
)
+
@classmethod
def tearDownClass(self):
self.question1.delete()
@@ -580,8 +581,7 @@ class MCQQuestionTestCases(unittest.TestCase):
course_id=self.course.id
)
not_ordered_testcase = self.question1.get_ordered_test_cases(
- answerpaper3
- )
+ answerpaper3 )
get_test_cases = self.question1.get_test_cases()
# Then
self.assertNotEqual(order1, order2)