summaryrefslogtreecommitdiff
path: root/yaksh/code_server.py
diff options
context:
space:
mode:
authorprathamesh2017-09-01 16:51:37 +0530
committerprathamesh2017-09-01 16:51:37 +0530
commite2c65655dcdc5558cfb4ab668c3012024d27ac75 (patch)
tree9ec6504e6bdc2f35f37260981ab584d1b9b3b9b4 /yaksh/code_server.py
parent3d9bce5471d04bf50e03155d3cd67bdae44a4fcc (diff)
downloadonline_test-e2c65655dcdc5558cfb4ab668c3012024d27ac75.tar.gz
online_test-e2c65655dcdc5558cfb4ab668c3012024d27ac75.tar.bz2
online_test-e2c65655dcdc5558cfb4ab668c3012024d27ac75.zip
Removed all the checkpoints set for selenium tests on travis
javascript strings includes method changed to indexOf, as includes belongs to ES6. This was the main reason for failure of selenium tests on travis.
Diffstat (limited to 'yaksh/code_server.py')
-rwxr-xr-xyaksh/code_server.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/yaksh/code_server.py b/yaksh/code_server.py
index fc8ef4c..75dd9b2 100755
--- a/yaksh/code_server.py
+++ b/yaksh/code_server.py
@@ -203,7 +203,6 @@ def submit(url, uid, json_data, user_dir):
user_dir : str
User directory.
'''
- print("submitted")
requests.post(
url, data=dict(uid=uid, json_data=json_data, user_dir=user_dir)
)
@@ -230,7 +229,6 @@ def get_result(url, uid, block=False):
Set to True if you wish to block till result is done.
'''
- print("get triggered")
def _get_data():
r = requests.get(urllib.parse.urljoin(url, str(uid)))
return json.loads(r.content.decode('utf-8'))