summaryrefslogtreecommitdiff
path: root/testapp/exam/code_server.py
diff options
context:
space:
mode:
authorankitjavalkar2015-05-13 18:20:26 +0530
committerankitjavalkar2015-05-20 14:58:05 +0530
commit92150265c82f3d1f6e4eb382447ae8e448cd406f (patch)
treef14a18f7e821d87b098a93610ece8772d568563b /testapp/exam/code_server.py
parent13317f56278969cb6568026d099e15166bfc5d6c (diff)
downloadonline_test-92150265c82f3d1f6e4eb382447ae8e448cd406f.tar.gz
online_test-92150265c82f3d1f6e4eb382447ae8e448cd406f.tar.bz2
online_test-92150265c82f3d1f6e4eb382447ae8e448cd406f.zip
Fix import paths, formatting, views 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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/exam/code_server.py b/testapp/exam/code_server.py
index 580379f..1411ded 100755
--- a/testapp/exam/code_server.py
+++ b/testapp/exam/code_server.py
@@ -30,8 +30,8 @@ import subprocess
import re
import json
# Local imports.
-from settings import SERVER_PORTS, SERVER_TIMEOUT, SERVER_POOL_PORT
-from language_registry import set_registry
+from settings import SERVER_PORTS, SERVER_POOL_PORT
+from language_registry import get_registry, set_registry
MY_DIR = abspath(dirname(__file__))