diff options
author | mahesh | 2017-05-17 12:26:06 +0530 |
---|---|---|
committer | mahesh | 2017-05-17 12:45:41 +0530 |
commit | 94f51e9c4286224057a404e48fad5069a4ed332c (patch) | |
tree | 03685a4e1b8104734d829ad58d22b83a9b3e93fe /yaksh/evaluator_tests/test_bash_evaluation.py | |
parent | 6d8e1aa67381cd3b07e4ac89818af2a96ca05668 (diff) | |
download | online_test-94f51e9c4286224057a404e48fad5069a4ed332c.tar.gz online_test-94f51e9c4286224057a404e48fad5069a4ed332c.tar.bz2 online_test-94f51e9c4286224057a404e48fad5069a4ed332c.zip |
changed assertions for stdio test cases
Diffstat (limited to 'yaksh/evaluator_tests/test_bash_evaluation.py')
-rw-r--r-- | yaksh/evaluator_tests/test_bash_evaluation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/evaluator_tests/test_bash_evaluation.py b/yaksh/evaluator_tests/test_bash_evaluation.py index 8bb8c81..d19ef1c 100644 --- a/yaksh/evaluator_tests/test_bash_evaluation.py +++ b/yaksh/evaluator_tests/test_bash_evaluation.py @@ -242,7 +242,8 @@ class BashStdIOEvaluationTestCases(EvaluatorBaseTest): result = grader.evaluate(kwargs) # Then - self.assert_correct_output("Incorrect", result.get('error')) + result_error = result.get('error')[0].get('error') + self.assert_correct_output("Incorrect", result_error) self.assertFalse(result.get('success')) def test_stdout_only(self): |