diff options
author | ankitjavalkar | 2017-02-20 11:46:06 +0530 |
---|---|---|
committer | ankitjavalkar | 2017-02-20 12:12:53 +0530 |
commit | b3c1ea3bd82f03599393916138e19dc258e2e380 (patch) | |
tree | 62fa39c08c2929af8b7772a5e7d6f0805c279179 /yaksh/evaluator_tests | |
parent | 9bedcd25c823561f9a499f47fabd5f7c436be6e6 (diff) | |
download | online_test-b3c1ea3bd82f03599393916138e19dc258e2e380.tar.gz online_test-b3c1ea3bd82f03599393916138e19dc258e2e380.tar.bz2 online_test-b3c1ea3bd82f03599393916138e19dc258e2e380.zip |
Fix test cases
Diffstat (limited to 'yaksh/evaluator_tests')
-rw-r--r-- | yaksh/evaluator_tests/test_python_evaluation.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/yaksh/evaluator_tests/test_python_evaluation.py b/yaksh/evaluator_tests/test_python_evaluation.py index b908ff7..51f9bea 100644 --- a/yaksh/evaluator_tests/test_python_evaluation.py +++ b/yaksh/evaluator_tests/test_python_evaluation.py @@ -235,7 +235,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get("success")) - self.assertEqual(22, len(err)) + self.assertEqual(25, len(err)) for msg in name_error_msg: self.assert_correct_output(msg, result.get("error")) @@ -300,7 +300,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get("success")) - self.assertEqual(22, len(err)) + self.assertEqual(25, len(err)) for msg in type_error_msg: self.assert_correct_output(msg, result.get("error")) @@ -336,7 +336,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get("success")) - self.assertEqual(25, len(err)) + self.assertEqual(28, len(err)) for msg in value_error_msg: self.assert_correct_output(msg, result.get("error")) @@ -403,7 +403,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get("success")) - self.assertEqual(12, len(err)) + self.assertEqual(13, len(err)) for msg in syntax_error_msg: self.assert_correct_output(msg, result.get("error")) @@ -445,7 +445,7 @@ class PythonAssertionEvaluationTestCases(EvaluatorBaseTest): # Then self.assertFalse(result.get("success")) - self.assertEqual(10, len(err)) + self.assertEqual(11, len(err)) for msg in name_error_msg: self.assert_correct_output(msg, result.get("error")) |