summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests/test_c_cpp_evaluation.py
diff options
context:
space:
mode:
authorprathamesh2020-06-30 08:36:18 +0530
committerprathamesh2020-06-30 08:36:18 +0530
commit60b1cc983c65654552c4b4a0d52114248ae0228f (patch)
tree57491da3f50eda30ccdbb827480e9021bd53f4e0 /yaksh/evaluator_tests/test_c_cpp_evaluation.py
parentc27bc87afd68266da59af6e7f2b3b8cc8db13fad (diff)
downloadonline_test-60b1cc983c65654552c4b4a0d52114248ae0228f.tar.gz
online_test-60b1cc983c65654552c4b4a0d52114248ae0228f.tar.bz2
online_test-60b1cc983c65654552c4b4a0d52114248ae0228f.zip
Fix Tests
Diffstat (limited to 'yaksh/evaluator_tests/test_c_cpp_evaluation.py')
-rw-r--r--yaksh/evaluator_tests/test_c_cpp_evaluation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/evaluator_tests/test_c_cpp_evaluation.py b/yaksh/evaluator_tests/test_c_cpp_evaluation.py
index 14ed808..242d0b0 100644
--- a/yaksh/evaluator_tests/test_c_cpp_evaluation.py
+++ b/yaksh/evaluator_tests/test_c_cpp_evaluation.py
@@ -822,7 +822,8 @@ class CppHookEvaluationTestCases(EvaluatorBaseTest):
# Then
self.assertFalse(result.get('success'))
- self.assert_correct_output('Incorrect Answer', result.get('error'))
+ self.assert_correct_output('Incorrect Answer',
+ result.get('error')[0]['message'])
def test_assert_with_hook(self):
# Given