summaryrefslogtreecommitdiff
path: root/yaksh/xmlrpc_clients.py
diff options
context:
space:
mode:
authorankitjavalkar2016-11-16 10:58:25 +0530
committerankitjavalkar2016-11-16 10:58:25 +0530
commit232c4480d47b75fcdb523e5ebb601959c56e40dc (patch)
treec9b519f742015e7f8c635b41710c54c593af7622 /yaksh/xmlrpc_clients.py
parent2100ef108b7119370051f8117c3bb58315fad270 (diff)
downloadonline_test-232c4480d47b75fcdb523e5ebb601959c56e40dc.tar.gz
online_test-232c4480d47b75fcdb523e5ebb601959c56e40dc.tar.bz2
online_test-232c4480d47b75fcdb523e5ebb601959c56e40dc.zip
Fix docstrings, Fix return values of bash evaluator
Diffstat (limited to 'yaksh/xmlrpc_clients.py')
-rw-r--r--yaksh/xmlrpc_clients.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/yaksh/xmlrpc_clients.py b/yaksh/xmlrpc_clients.py
index 53b8c38..437dbcb 100644
--- a/yaksh/xmlrpc_clients.py
+++ b/yaksh/xmlrpc_clients.py
@@ -55,7 +55,12 @@ class CodeServerProxy(object):
Returns
-------
- A json string of a dict: {success: success, err: error message}.
+ A json string of a dict containing:
+ {"success": success, "weightage": weightage, "error": error message}
+
+ success - Boolean, indicating if code was executed successfully, correctly
+ weightage - Float, indicating total weightage of all successful test cases
+ error - String, error message if success is false
"""
try: