summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
authorprathamesh2020-06-30 08:36:18 +0530
committerprathamesh2020-06-30 08:36:18 +0530
commit60b1cc983c65654552c4b4a0d52114248ae0228f (patch)
tree57491da3f50eda30ccdbb827480e9021bd53f4e0 /yaksh/test_models.py
parentc27bc87afd68266da59af6e7f2b3b8cc8db13fad (diff)
downloadonline_test-60b1cc983c65654552c4b4a0d52114248ae0228f.tar.gz
online_test-60b1cc983c65654552c4b4a0d52114248ae0228f.tar.bz2
online_test-60b1cc983c65654552c4b4a0d52114248ae0228f.zip
Fix Tests
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r--yaksh/test_models.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py
index 4e6b1ae..37baf6e 100644
--- a/yaksh/test_models.py
+++ b/yaksh/test_models.py
@@ -431,7 +431,8 @@ class QuestionTestCases(unittest.TestCase):
self.test_case_upload_data = [{"test_case": "assert fact(3)==6",
"test_case_type": "standardtestcase",
"test_case_args": "",
- "weight": 1.0
+ "weight": 1.0,
+ "hidden": False
}]
questions_data = [{"snippet": "def fact()", "active": True,
"points": 1.0,
@@ -2029,7 +2030,8 @@ class TestCaseTestCases(unittest.TestCase):
{'test_case': 'assert myfunc(12, 13) == 15',
'test_case_type': 'standardtestcase',
'test_case_args': "",
- 'weight': 1.0
+ 'weight': 1.0,
+ 'hidden': False
}]
}
self.answer_data_json = json.dumps(answer_data)
@@ -2363,4 +2365,4 @@ class CommentModelTestCases(unittest.TestCase):
self.user1.delete()
self.course.delete()
self.post1.delete()
- self.comment1.delete() \ No newline at end of file
+ self.comment1.delete()