summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-01-09 16:15:27 +0530
committerGitHub2017-01-09 16:15:27 +0530
commit7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1 (patch)
tree3afbf4d76e0d244bc71d0f43ace1ad2a40755e33 /yaksh/test_models.py
parentef6a61b1938ec399efb6d66b914f245afa3ed5ff (diff)
parent9fc46fc74e87a30f9dcaada88815a5ec8814d5fd (diff)
downloadonline_test-7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1.tar.gz
online_test-7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1.tar.bz2
online_test-7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1.zip
Merge pull request #172 from adityacp/update_docs
Update docs and fix minor issues
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()'
)