summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradityacp2017-11-23 14:26:35 +0530
committeradityacp2017-11-23 14:26:48 +0530
commit8dd97bc6855a0e367a67d8a8803623f1c3f7e8f2 (patch)
treec205e9369e36469aad1e456c29e1546e33b090d4
parent86b9fa3d802971077ac30e7e1b833ec39d822d3b (diff)
downloadonline_test-8dd97bc6855a0e367a67d8a8803623f1c3f7e8f2.tar.gz
online_test-8dd97bc6855a0e367a67d8a8803623f1c3f7e8f2.tar.bz2
online_test-8dd97bc6855a0e367a67d8a8803623f1c3f7e8f2.zip
Fix regrading test cases
-rw-r--r--yaksh/evaluator_tests/test_simple_question_types.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/evaluator_tests/test_simple_question_types.py b/yaksh/evaluator_tests/test_simple_question_types.py
index c0b81d6..b86a9d8 100644
--- a/yaksh/evaluator_tests/test_simple_question_types.py
+++ b/yaksh/evaluator_tests/test_simple_question_types.py
@@ -26,8 +26,7 @@ def setUpModule():
tzinfo=pytz.utc),
duration=30, active=True, attempts_allowed=1,
time_between_attempts=0, description='demo quiz 100',
- pass_criteria=0,language='Python',
- prerequisite=None,course=course,
+ pass_criteria=0,
instructions="Demo Instructions"
)
question_paper = QuestionPaper.objects.create(quiz=quiz,
@@ -38,7 +37,8 @@ def setUpModule():
question_paper=question_paper,
end_time=timezone.now()
+timedelta(minutes=5),
- attempt_number=1
+ attempt_number=1,
+ course=course
)
def tearDownModule():