summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorCruiseDevice2019-01-28 13:01:42 +0530
committerCruiseDevice2019-01-28 13:07:02 +0530
commit4db850b16d1445cfb8a58fce28e1e7582421b3b7 (patch)
tree27b8e55d620194c28ea9d5ac62088e9a6936ad2d /yaksh
parentfb2afe0f1f631aebadd12baf87278891fd857ae7 (diff)
downloadonline_test-4db850b16d1445cfb8a58fce28e1e7582421b3b7.tar.gz
online_test-4db850b16d1445cfb8a58fce28e1e7582421b3b7.tar.bz2
online_test-4db850b16d1445cfb8a58fce28e1e7582421b3b7.zip
Resolve comments
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/test_models.py7
1 files changed, 2 insertions, 5 deletions
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