summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
authorprathamesh2017-11-22 18:38:14 +0530
committerprathamesh2017-11-22 18:38:14 +0530
commit4fc8565be63375b48a7a897a1701e264f4ccac66 (patch)
tree1501e90caa681de79e24239e540bae61656b198b /yaksh/views.py
parentacce9174639224234325c007f30d5679712e4c2c (diff)
downloadonline_test-4fc8565be63375b48a7a897a1701e264f4ccac66.tar.gz
online_test-4fc8565be63375b48a7a897a1701e264f4ccac66.tar.bz2
online_test-4fc8565be63375b48a7a897a1701e264f4ccac66.zip
Fixed existing model tests
Also, added "markdown" to requirements
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 1147bb4..524d4d5 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -1689,7 +1689,7 @@ def test_mode(user, godmode=False, questions_list=None, quiz_id=None,
if questions_list is not None:
trial_course = Course.objects.create_trial_course(user)
- trial_quiz = Quiz.objects.create_trial_quiz(trial_course, user)
+ trial_quiz = Quiz.objects.create_trial_quiz(user)
trial_questionpaper = QuestionPaper.objects.create_trial_paper_to_test_questions(
trial_quiz, questions_list
)