summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests/test_bash_evaluation.py
diff options
context:
space:
mode:
authormaheshgudi2016-09-27 14:27:18 +0530
committermaheshgudi2016-09-27 14:27:18 +0530
commit6c0f1a9182f53d4340ef2324ae93c50872a83a10 (patch)
tree038475627f7e1529ccf307fa6191228d163cbb87 /yaksh/evaluator_tests/test_bash_evaluation.py
parented46c4a2cf6bbf41f50faafc785f001e3d10d195 (diff)
downloadonline_test-6c0f1a9182f53d4340ef2324ae93c50872a83a10.tar.gz
online_test-6c0f1a9182f53d4340ef2324ae93c50872a83a10.tar.bz2
online_test-6c0f1a9182f53d4340ef2324ae93c50872a83a10.zip
modified test cases wrt the refactor changes
Diffstat (limited to 'yaksh/evaluator_tests/test_bash_evaluation.py')
-rwxr-xr-x[-rw-r--r--]yaksh/evaluator_tests/test_bash_evaluation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/evaluator_tests/test_bash_evaluation.py b/yaksh/evaluator_tests/test_bash_evaluation.py
index addc5e6..084e5e4 100644..100755
--- a/yaksh/evaluator_tests/test_bash_evaluation.py
+++ b/yaksh/evaluator_tests/test_bash_evaluation.py
@@ -88,7 +88,7 @@ class BashStdioEvaluationTestCases(unittest.TestCase):
"test_case_data": test_case_data
}
result = get_class.evaluate(**kwargs)
- self.assertEquals(result.get('error'), "Correct Answer")
+ self.assertEquals(result.get('error'), "Correct answer")
self.assertTrue(result.get('success'))
def test_array_input(self):
@@ -108,7 +108,7 @@ class BashStdioEvaluationTestCases(unittest.TestCase):
"test_case_data": test_case_data
}
result = get_class.evaluate(**kwargs)
- self.assertEquals(result.get('error'), "Correct Answer")
+ self.assertEquals(result.get('error'), "Correct answer")
self.assertTrue(result.get('success'))
def test_incorrect_answer(self):
@@ -142,7 +142,7 @@ class BashStdioEvaluationTestCases(unittest.TestCase):
"test_case_data": test_case_data
}
result = get_class.evaluate(**kwargs)
- self.assertEquals(result.get('error'), "Correct Answer")
+ self.assertEquals(result.get('error'), "Correct answer")
self.assertTrue(result.get('success'))
if __name__ == '__main__':