summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests
diff options
context:
space:
mode:
authormaheshgudi2016-06-02 16:00:27 +0530
committeradityacp2016-07-27 22:52:23 +0530
commitbb76e0a25b113b0f40b47f19eaa2c053e0b4e423 (patch)
treed3902ff71b3053d8f9f1be09cdea052570ec96a6 /yaksh/evaluator_tests
parentf5ea9ecf903360c2860293639d1c6ba7a78b2339 (diff)
downloadonline_test-bb76e0a25b113b0f40b47f19eaa2c053e0b4e423.tar.gz
online_test-bb76e0a25b113b0f40b47f19eaa2c053e0b4e423.tar.bz2
online_test-bb76e0a25b113b0f40b47f19eaa2c053e0b4e423.zip
changed model class name Stdout to Stdio
Diffstat (limited to 'yaksh/evaluator_tests')
-rw-r--r--yaksh/evaluator_tests/test_java_evaluation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/evaluator_tests/test_java_evaluation.py b/yaksh/evaluator_tests/test_java_evaluation.py
index 8cfccb9..fa8d68c 100644
--- a/yaksh/evaluator_tests/test_java_evaluation.py
+++ b/yaksh/evaluator_tests/test_java_evaluation.py
@@ -68,13 +68,13 @@ class JavaStdioEvaluationTestCases(unittest.TestCase):
def setUp(self):
self.test_case_data = [{'expected_output': '11',
'expected_input': '5\n6'}]
- evaluator.SERVER_TIMEOUT = 9
+ evaluator.SERVER_TIMEOUT = 4
self.timeout_msg = ("Code took more than {0} seconds to run. "
"You probably have an infinite loop in"
" your code.").format(evaluator.SERVER_TIMEOUT)
def teardown(self):
- evaluator.SERVER_TIMEOUT = 2
+ evaluator.SERVER_TIMEOUT = 4
def test_correct_answer(self):
user_answer = dedent("""