summaryrefslogtreecommitdiff
path: root/yaksh/tests
diff options
context:
space:
mode:
authorankitjavalkar2016-11-16 23:30:04 +0530
committerankitjavalkar2016-11-17 10:39:34 +0530
commitc4a39baa980578b4e35452d7e1978b1bf0b38e13 (patch)
treee5ff410809c60e735cc1a64ce667ba1d4caa6cf5 /yaksh/tests
parentcb9a541a4653b2ed13db3a6171b50de575b0f05d (diff)
downloadonline_test-c4a39baa980578b4e35452d7e1978b1bf0b38e13.tar.gz
online_test-c4a39baa980578b4e35452d7e1978b1bf0b38e13.tar.bz2
online_test-c4a39baa980578b4e35452d7e1978b1bf0b38e13.zip
Fix test cases to reflect changes in output message
Diffstat (limited to 'yaksh/tests')
-rw-r--r--yaksh/tests/test_code_server.py2
1 files changed, 1 insertions, 1 deletions
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