From 97b657edc2a323f832c81f0e34ce5761bd21f7e9 Mon Sep 17 00:00:00 2001 From: adityacp Date: Thu, 24 May 2018 12:07:39 +0530 Subject: Pep8 changes --- yaksh/tests/test_code_server.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'yaksh/tests') diff --git a/yaksh/tests/test_code_server.py b/yaksh/tests/test_code_server.py index e2781df..8237256 100644 --- a/yaksh/tests/test_code_server.py +++ b/yaksh/tests/test_code_server.py @@ -128,10 +128,9 @@ class TestCodeServer(unittest.TestCase): # With correct answer and test case testdata["metadata"]["user_answer"] = 'def f(): return 2' testdata["test_case_data"] = [{'test_case': 'assert f() == 2', - 'test_case_type': 'standardtestcase', - 'weight': 0.0 - } - ] + 'test_case_type': 'standardtestcase', + 'weight': 0.0 + }] # When submit(self.url, '0', json.dumps(testdata), '') result = get_result(self.url, '0', block=True) -- cgit