summaryrefslogtreecommitdiff
path: root/testapp/exam
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-05-27 22:20:45 +0530
committerPrabhu Ramachandran2015-05-27 22:20:45 +0530
commitf3521eeb7dc05e4c529f8e50724ca5b3b8cc3f83 (patch)
treebf74cd706cad667f3b41a3e09d756fb9e73e898c /testapp/exam
parenta83b57aee80959f11f96ad6a3a738c9fac906e26 (diff)
parent6f04127b10fad666a689b18db6a5a9aa1270d739 (diff)
downloadonline_test-f3521eeb7dc05e4c529f8e50724ca5b3b8cc3f83.tar.gz
online_test-f3521eeb7dc05e4c529f8e50724ca5b3b8cc3f83.tar.bz2
online_test-f3521eeb7dc05e4c529f8e50724ca5b3b8cc3f83.zip
Merge pull request #50 from hardythe1/remotes/origin/RemoveBuildout
Removed Buildout and related files & made a standard Django project
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.py15
10 files changed, 9 insertions, 8 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..5d3fb15 100644
--- a/testapp/exam/settings.py
+++ b/testapp/exam/settings.py
@@ -19,10 +19,11 @@ 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",
+ }