From 4db850b16d1445cfb8a58fce28e1e7582421b3b7 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Mon, 28 Jan 2019 13:01:42 +0530 Subject: Resolve comments --- yaksh/test_models.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'yaksh/test_models.py') diff --git a/yaksh/test_models.py b/yaksh/test_models.py index 2110f1b..f94c67c 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -1154,13 +1154,10 @@ class AnswerPaperTestCases(unittest.TestCase): ) # create question_paper4 self.question_paper4 = QuestionPaper( - quiz=self.quiz, total_marks=3, shuffle_questions=True + quiz=self.quiz, total_marks=0, shuffle_questions=True ) self.question_paper4.save() - question_list_with_no_questions = [] - self.question_paper4.fixed_questions.add( - *question_list_with_no_questions - ) + # create anspaper for user1 with no questions self.user1_answerpaper3 = self.question_paper4.make_answerpaper( self.user, self.ip, 1, self.course.id -- cgit