From cbeffec80d30fe2a9048644f5b0345f797479c92 Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 20 Apr 2015 21:38:11 +0530 Subject: Code review - changes as per code review discussion - Further commonify and simplify code_server, fix bugs --- testapp/exam/xmlrpc_clients.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'testapp/exam/xmlrpc_clients.py') diff --git a/testapp/exam/xmlrpc_clients.py b/testapp/exam/xmlrpc_clients.py index 2b0f0fa..5791dc6 100644 --- a/testapp/exam/xmlrpc_clients.py +++ b/testapp/exam/xmlrpc_clients.py @@ -21,13 +21,6 @@ class CodeServerProxy(object): def __init__(self): pool_url = 'http://localhost:%d' % (SERVER_POOL_PORT) self.pool_server = ServerProxy(pool_url) - self.methods = {"python": 'run_python_code', - "bash": 'run_bash_code', - "C": "run_c_code", - "C++": "run_cplus_code", - "java": "run_java_code", - "scilab": "run_scilab_code", - } def run_code(self, info_parameter, user_dir): """Tests given code (`answer`) with the `test_code` supplied. If the -- cgit