From dd1eeca0267159ddde3036c706818dec0b7e5f45 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 23 Dec 2016 12:03:06 +0530 Subject: Change test for load_questions and consolidate_answer_data functions --- yaksh/test_models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yaksh/test_models.py') 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 }] } -- cgit