summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
Diffstat (limited to 'testapp/exam')
-rwxr-xr-xtestapp/exam/code_server.py2
-rw-r--r--testapp/exam/evaluators/__init__.py0
-rw-r--r--testapp/exam/evaluators/bash_code_evaluator.py (renamed from testapp/exam/bash_code_evaluator.py)0
-rw-r--r--testapp/exam/evaluators/code_evaluator.py (renamed from testapp/exam/code_evaluator.py)0
-rw-r--r--testapp/exam/evaluators/cpp_code_evaluator.py (renamed from testapp/exam/cpp_code_evaluator.py)0
-rw-r--r--testapp/exam/evaluators/java_code_evaluator.py (renamed from testapp/exam/java_code_evaluator.py)0
-rw-r--r--testapp/exam/evaluators/language_registry.py (renamed from testapp/exam/language_registry.py)0
-rw-r--r--testapp/exam/evaluators/python_code_evaluator.py (renamed from testapp/exam/python_code_evaluator.py)0
-rw-r--r--testapp/exam/evaluators/scilab_code_evaluator.py (renamed from testapp/exam/scilab_code_evaluator.py)0
-rw-r--r--testapp/exam/settings.py12
10 files changed, 7 insertions, 7 deletions
diff --git a/testapp/exam/code_server.py b/testapp/exam/code_server.py
index 1411ded..7c675cb 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 language_registry import get_registry, set_registry
+from evaluators.language_registry import get_registry, set_registry
MY_DIR = abspath(dirname(__file__))
diff --git a/testapp/exam/evaluators/__init__.py b/testapp/exam/evaluators/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/testapp/exam/evaluators/__init__.py
diff --git a/testapp/exam/bash_code_evaluator.py b/testapp/exam/evaluators/bash_code_evaluator.py
index a468fd7..a468fd7 100644
--- a/testapp/exam/bash_code_evaluator.py
+++ b/testapp/exam/evaluators/bash_code_evaluator.py
diff --git a/testapp/exam/code_evaluator.py b/testapp/exam/evaluators/code_evaluator.py
index 381b2e8..381b2e8 100644
--- a/testapp/exam/code_evaluator.py
+++ b/testapp/exam/evaluators/code_evaluator.py
diff --git a/testapp/exam/cpp_code_evaluator.py b/testapp/exam/evaluators/cpp_code_evaluator.py
index 7242884..7242884 100644
--- a/testapp/exam/cpp_code_evaluator.py
+++ b/testapp/exam/evaluators/cpp_code_evaluator.py
diff --git a/testapp/exam/java_code_evaluator.py b/testapp/exam/evaluators/java_code_evaluator.py
index 4367259..4367259 100644
--- a/testapp/exam/java_code_evaluator.py
+++ b/testapp/exam/evaluators/java_code_evaluator.py
diff --git a/testapp/exam/language_registry.py b/testapp/exam/evaluators/language_registry.py
index 76a23d7..76a23d7 100644
--- a/testapp/exam/language_registry.py
+++ b/testapp/exam/evaluators/language_registry.py
diff --git a/testapp/exam/python_code_evaluator.py b/testapp/exam/evaluators/python_code_evaluator.py
index 0c473cf..0c473cf 100644
--- a/testapp/exam/python_code_evaluator.py
+++ b/testapp/exam/evaluators/python_code_evaluator.py
diff --git a/testapp/exam/scilab_code_evaluator.py b/testapp/exam/evaluators/scilab_code_evaluator.py
index 392cd45..392cd45 100644
--- a/testapp/exam/scilab_code_evaluator.py
+++ b/testapp/exam/evaluators/scilab_code_evaluator.py
diff --git a/testapp/exam/settings.py b/testapp/exam/settings.py
index 93f90a9..abbc275 100644
--- a/testapp/exam/settings.py
+++ b/testapp/exam/settings.py
@@ -19,10 +19,10 @@ SERVER_TIMEOUT = 2
# host.org/foo/exam set URL_ROOT='/foo'
URL_ROOT = ''
-code_evaluators = {"python": "python_code_evaluator.PythonCodeEvaluator",
- "c": "c_cpp_code_evaluator.CCPPCodeEvaluator",
- "cpp": "c_cpp_code_evaluator.CCPPCodeEvaluator",
- "java": "java_evaluator.JavaCodeEvaluator",
- "bash": "bash_evaluator.BashCodeEvaluator",
- "scilab": "scilab_evaluator.ScilabCodeEvaluator",
+code_evaluators = {"python": "evaluators.python_code_evaluator.PythonCodeEvaluator",
+ "c": "evaluators.c_cpp_code_evaluator.CCPPCodeEvaluator",
+ "cpp": "evaluators.c_cpp_code_evaluator.CCPPCodeEvaluator",
+ "java": "evaluators.java_evaluator.JavaCodeEvaluator",
+ "bash": "evaluators.bash_evaluator.BashCodeEvaluator",
+ "scilab": "evaluators.scilab_evaluator.ScilabCodeEvaluator",
}