diff options
author | Prabhu Ramachandran | 2016-12-27 23:55:01 +0530 |
---|---|---|
committer | GitHub | 2016-12-27 23:55:01 +0530 |
commit | 48df2c1b30fa4bfc256399bbaadcbdefa555623d (patch) | |
tree | e1c4140c315655a9b57536e6550ac5eff5d67c4c /yaksh/test_models.py | |
parent | 48366e84b98157ac32b22b2aa19b1c1cde68afd4 (diff) | |
parent | 1b9a870975c1e2492b692ab8ec58bc3c628dcd82 (diff) | |
download | online_test-48df2c1b30fa4bfc256399bbaadcbdefa555623d.tar.gz online_test-48df2c1b30fa4bfc256399bbaadcbdefa555623d.tar.bz2 online_test-48df2c1b30fa4bfc256399bbaadcbdefa555623d.zip |
Merge pull request #167 from adityacp/new_fix_evaluators
Modify Evaluators to take moderator code as test case instead of files
Diffstat (limited to 'yaksh/test_models.py')
-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 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 }] } |