diff options
author | adityacp | 2016-12-23 12:03:06 +0530 |
---|---|---|
committer | adityacp | 2016-12-23 12:03:06 +0530 |
commit | dd1eeca0267159ddde3036c706818dec0b7e5f45 (patch) | |
tree | 691018bbce3e0a380bb0dd63eb9cc9c5062bd56f | |
parent | e90f369ff90861077b276d1588f90fa804c55a42 (diff) | |
download | online_test-dd1eeca0267159ddde3036c706818dec0b7e5f45.tar.gz online_test-dd1eeca0267159ddde3036c706818dec0b7e5f45.tar.bz2 online_test-dd1eeca0267159ddde3036c706818dec0b7e5f45.zip |
Change test for load_questions and consolidate_answer_data functions
-rw-r--r-- | yaksh/test_models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py index 317c832..ee141bc 100644 --- a/yaksh/test_models.py +++ b/yaksh/test_models.py @@ -145,6 +145,7 @@ class QuestionTestCases(unittest.TestCase): self.user_answer = "demo_answer" self.test_case_upload_data = [{"test_case": "assert fact(3)==6", "test_case_type": "standardtestcase", + "test_case_args": "", "weight": 1.0 }] questions_data = [{"snippet": "def fact()", "active": True, @@ -893,6 +894,7 @@ class TestCaseTestCases(unittest.TestCase): }, 'test_case_data': [{'test_case': 'assert myfunc(12, 13) == 15', 'test_case_type': 'standardtestcase', + 'test_case_args': "", 'weight': 1.0 }] } |