diff options
author | maheshgudi | 2016-06-02 16:00:27 +0530 |
---|---|---|
committer | adityacp | 2016-07-27 22:52:23 +0530 |
commit | bb76e0a25b113b0f40b47f19eaa2c053e0b4e423 (patch) | |
tree | d3902ff71b3053d8f9f1be09cdea052570ec96a6 /yaksh/tests.py | |
parent | f5ea9ecf903360c2860293639d1c6ba7a78b2339 (diff) | |
download | online_test-bb76e0a25b113b0f40b47f19eaa2c053e0b4e423.tar.gz online_test-bb76e0a25b113b0f40b47f19eaa2c053e0b4e423.tar.bz2 online_test-bb76e0a25b113b0f40b47f19eaa2c053e0b4e423.zip |
changed model class name Stdout to Stdio
Diffstat (limited to 'yaksh/tests.py')
-rw-r--r-- | yaksh/tests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/tests.py b/yaksh/tests.py index 8bd2dda..5b87fc1 100644 --- a/yaksh/tests.py +++ b/yaksh/tests.py @@ -1,7 +1,7 @@ import unittest from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\ QuestionSet, AnswerPaper, Answer, Course, StandardTestCase,\ - StdoutBasedTestCase + StdioBasedTestCase import json from datetime import datetime, timedelta from django.utils import timezone @@ -632,7 +632,7 @@ class TestCaseTestCases(unittest.TestCase): active=True, description='Write to standard output', points=1.0, - test_case_type="stdoutbasedtestcase", + test_case_type="stdiobasedtestcase", user=self.user, snippet='def myfunc()' ) @@ -642,7 +642,7 @@ class TestCaseTestCases(unittest.TestCase): question=self.question1, test_case='assert myfunc(12, 13) == 15' ) - self.stdout_based_testcase = StdoutBasedTestCase( + self.stdout_based_testcase = StdioBasedTestCase( question=self.question2, expected_output='Hello World' ) |