diff options
author | mahesh | 2018-02-08 15:19:27 +0530 |
---|---|---|
committer | maheshgudi | 2018-03-16 15:15:50 +0530 |
commit | 1c8bc4aaadb307b14cb4e673485bf2405e921543 (patch) | |
tree | 238b8a2b68febad913605b5dd47e456056131823 /yaksh | |
parent | 21181922ee2b4d69fa62ae9725fcda759b475b80 (diff) | |
download | online_test-1c8bc4aaadb307b14cb4e673485bf2405e921543.tar.gz online_test-1c8bc4aaadb307b14cb4e673485bf2405e921543.tar.bz2 online_test-1c8bc4aaadb307b14cb4e673485bf2405e921543.zip |
Improve test cases for TestCaseOrder model
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/evaluator_tests/test_simple_question_types.py | 4 |
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) |