summaryrefslogtreecommitdiff
path: root/yaksh/xmlrpc_clients.py
diff options
context:
space:
mode:
authoradityacp2017-01-10 14:43:52 +0530
committeradityacp2017-01-10 14:43:52 +0530
commit05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf (patch)
tree896aa651644179a69c0ae1e6c2aaf5053e8be481 /yaksh/xmlrpc_clients.py
parentd924a36d5c0bfec383d5a07811ca197705fafe1b (diff)
parent7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1 (diff)
downloadonline_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.tar.gz
online_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.tar.bz2
online_test-05b8d1f19bc566e28f2b9bc232389c65f6e4b9bf.zip
Merge https://github.com/fossee/online_test into fix_management_commands
Diffstat (limited to 'yaksh/xmlrpc_clients.py')
-rw-r--r--yaksh/xmlrpc_clients.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/xmlrpc_clients.py b/yaksh/xmlrpc_clients.py
index fbcd6a5..54b2dd3 100644
--- a/yaksh/xmlrpc_clients.py
+++ b/yaksh/xmlrpc_clients.py
@@ -32,7 +32,7 @@ class CodeServerProxy(object):
pool_url = 'http://localhost:%d' % (SERVER_POOL_PORT)
self.pool_url = pool_url
- def run_code(self, language, test_case_type, json_data, user_dir):
+ def run_code(self, language, json_data, user_dir):
"""Tests given code (`answer`) with the `test_code` supplied. If the
optional `in_dir` keyword argument is supplied it changes the directory
to that directory (it does not change it back to the original when
@@ -65,7 +65,7 @@ class CodeServerProxy(object):
try:
server = self._get_server()
- result = server.check_code(language, test_case_type, json_data, user_dir)
+ result = server.check_code(language, json_data, user_dir)
except ConnectionError:
result = json.dumps({'success': False,
'weight': 0.0,