summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
authoradityacp2016-12-28 14:21:17 +0530
committeradityacp2016-12-28 14:21:17 +0530
commit537e3fb2e3ed637e1429ce815165b23d53b70ff7 (patch)
tree964ffdfd825947c14d15f19aca8b0c800e852742 /yaksh/test_models.py
parent135ebb1ae4dbc5e1bc4297fa31413d89ac4405f3 (diff)
parent011ca73b4c1042ceb208974e57c11474ecea65f2 (diff)
downloadonline_test-537e3fb2e3ed637e1429ce815165b23d53b70ff7.tar.gz
online_test-537e3fb2e3ed637e1429ce815165b23d53b70ff7.tar.bz2
online_test-537e3fb2e3ed637e1429ce815165b23d53b70ff7.zip
Merge https://github.com/fossee/online_test into update_docs
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r--yaksh/test_models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py
index 6764dd0..e95528b 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,
@@ -895,6 +896,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
}]
}