summaryrefslogtreecommitdiff
path: root/testapp/exam/code_server.py
diff options
context:
space:
mode:
authorankitjavalkar2015-05-13 18:20:26 +0530
committerankitjavalkar2015-06-17 14:48:06 +0530
commitf62c4c3f06d8a515e05d1dcd201acbfbdd41ee8d (patch)
tree67b198251b32fc0e43c2adee78802e7dc68a9ba2 /testapp/exam/code_server.py
parentbbb991f8c6dbbcc6d12e93f3574ffcfbec2cb810 (diff)
downloadonline_test-f62c4c3f06d8a515e05d1dcd201acbfbdd41ee8d.tar.gz
online_test-f62c4c3f06d8a515e05d1dcd201acbfbdd41ee8d.tar.bz2
online_test-f62c4c3f06d8a515e05d1dcd201acbfbdd41ee8d.zip
Fix import paths, formatting and minor errors
- Submitted file path should be set after changing directory - Change timeout duration in java test case - Set shell=True in _compile_command - Fix errors in code as per tests
Diffstat (limited to 'testapp/exam/code_server.py')
-rwxr-xr-xtestapp/exam/code_server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapp/exam/code_server.py b/testapp/exam/code_server.py
index 7c675cb..eb106a4 100755
--- a/testapp/exam/code_server.py
+++ b/testapp/exam/code_server.py
@@ -31,7 +31,7 @@ import re
import json
# Local imports.
from settings import SERVER_PORTS, SERVER_POOL_PORT
-from evaluators.language_registry import get_registry, set_registry
+from language_registry import set_registry
MY_DIR = abspath(dirname(__file__))