From c4a39baa980578b4e35452d7e1978b1bf0b38e13 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 16 Nov 2016 23:30:04 +0530 Subject: Fix test cases to reflect changes in output message --- yaksh/tests/test_code_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/tests/test_code_server.py') diff --git a/yaksh/tests/test_code_server.py b/yaksh/tests/test_code_server.py index 1984c6c..7efd20b 100644 --- a/yaksh/tests/test_code_server.py +++ b/yaksh/tests/test_code_server.py @@ -71,7 +71,7 @@ class TestCodeServer(unittest.TestCase): # Then data = json.loads(result) self.assertTrue(data['success']) - self.assertEqual(data['error'], 'Correct answer') + self.assertIn('Correct answer', data['error']) def test_wrong_answer(self): # Given -- cgit