summaryrefslogtreecommitdiff
path: root/testapp/exam/xmlrpc_clients.py
diff options
context:
space:
mode:
authorankitjavalkar2015-04-20 21:38:11 +0530
committerankitjavalkar2015-04-26 19:46:01 +0530
commitcbeffec80d30fe2a9048644f5b0345f797479c92 (patch)
treec544330859e16293fcae0fb71fab238fc4257520 /testapp/exam/xmlrpc_clients.py
parent3d998f9d467ccfe795448dd12b33eac52f269ed4 (diff)
downloadonline_test-cbeffec80d30fe2a9048644f5b0345f797479c92.tar.gz
online_test-cbeffec80d30fe2a9048644f5b0345f797479c92.tar.bz2
online_test-cbeffec80d30fe2a9048644f5b0345f797479c92.zip
Code review - changes as per code review discussion
- Further commonify and simplify code_server, fix bugs
Diffstat (limited to 'testapp/exam/xmlrpc_clients.py')
-rw-r--r--testapp/exam/xmlrpc_clients.py7
1 files changed, 0 insertions, 7 deletions
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