summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
authoradityacp2017-01-10 14:43:52 +0530
committeradityacp2017-01-10 14:43:52 +0530
commit05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf (patch)
tree896aa651644179a69c0ae1e6c2aaf5053e8be481 /yaksh/test_models.py
parentd924a36d5c0bfec383d5a07811ca197705fafe1b (diff)
parent7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1 (diff)
downloadonline_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.tar.gz
online_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.tar.bz2
online_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.zip
Merge https://github.com/fossee/online_test into fix_management_commands
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r--yaksh/test_models.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py
index e95528b..48dfb8e 100644
--- a/yaksh/test_models.py
+++ b/yaksh/test_models.py
@@ -98,7 +98,6 @@ class QuestionTestCases(unittest.TestCase):
language='Python',
type='Code',
active=True,
- test_case_type='standardtestcase',
description='Write a function',
points=1.0,
snippet='def myfunc()',
@@ -111,7 +110,6 @@ class QuestionTestCases(unittest.TestCase):
type='code',
active=True,
description='factorial of a no',
- test_case_type='standardtestcase',
points=2.0,
snippet='def fact()',
user=self.user2
@@ -196,7 +194,6 @@ class QuestionTestCases(unittest.TestCase):
self.assertEqual(self.question2.points, q['points'])
self.assertTrue(self.question2.active)
self.assertEqual(self.question2.snippet, q['snippet'])
- self.assertEqual(self.question2.test_case_type, q['test_case_type'])
self.assertEqual(os.path.basename(que_file.file.path), q['files'][0][0])
self.assertEqual([case.get_field_value() for case in test_case], q['testcase'])
for file in zip_file.namelist():
@@ -861,7 +858,6 @@ class TestCaseTestCases(unittest.TestCase):
active=True,
description='Write a function',
points=1.0,
- test_case_type="standardtestcase",
user=self.user,
snippet='def myfunc()'
)
@@ -871,7 +867,6 @@ class TestCaseTestCases(unittest.TestCase):
active=True,
description='Write to standard output',
points=1.0,
- test_case_type="stdiobasedtestcase",
user=self.user,
snippet='def myfunc()'
)