diff options
author | adityacp | 2016-09-02 12:59:20 +0530 |
---|---|---|
committer | adityacp | 2016-09-02 12:59:20 +0530 |
commit | 3c1bbe9d8c53c419d2fa2a254228484ea74aab96 (patch) | |
tree | 505e646133b52fe56fe1006ad48007cf01c61125 /yaksh/settings.py | |
parent | 83fe192987c239287bf816a31f4da31910eb7087 (diff) | |
parent | 01e08dd15b59ce353043d541c9be81592cda3fe0 (diff) | |
download | online_test-3c1bbe9d8c53c419d2fa2a254228484ea74aab96.tar.gz online_test-3c1bbe9d8c53c419d2fa2a254228484ea74aab96.tar.bz2 online_test-3c1bbe9d8c53c419d2fa2a254228484ea74aab96.zip |
refactor in test_models and updated with latest changes
Diffstat (limited to 'yaksh/settings.py')
-rw-r--r-- | yaksh/settings.py | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/yaksh/settings.py b/yaksh/settings.py index 70e5471..b1336f4 100644 --- a/yaksh/settings.py +++ b/yaksh/settings.py @@ -11,7 +11,7 @@ SERVER_PORTS = [8001] # range(8001, 8026) SERVER_POOL_PORT = 53579 # Timeout for the code to run in seconds. This is an integer! -SERVER_TIMEOUT = 2 +SERVER_TIMEOUT = 4 # The root of the URL, for example you might be in the situation where you # are not hosted as host.org/exam/ but as host.org/foo/exam/ for whatever @@ -21,11 +21,20 @@ URL_ROOT = '' code_evaluators = { "python": {"standardtestcase": "python_assertion_evaluator.PythonAssertionEvaluator", - "stdoutbasedtestcase": "python_stdout_evaluator.PythonStdoutEvaluator" - }, - "c": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator"}, - "cpp": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator"}, - "java": {"standardtestcase": "java_code_evaluator.JavaCodeEvaluator"}, - "bash": {"standardtestcase": "bash_code_evaluator.BashCodeEvaluator"}, + "stdiobasedtestcase": "python_stdio_evaluator.PythonStdioEvaluator" + }, + "c": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator", + "stdiobasedtestcase": "cpp_stdio_evaluator.CppStdioEvaluator" + }, + "cpp": {"standardtestcase": "cpp_code_evaluator.CppCodeEvaluator", + "stdiobasedtestcase": "cpp_stdio_evaluator.CppStdioEvaluator" + }, + "java": {"standardtestcase": "java_code_evaluator.JavaCodeEvaluator", + "stdiobasedtestcase": "java_stdio_evaluator.JavaStdioEvaluator"}, + + "bash": {"standardtestcase": "bash_code_evaluator.BashCodeEvaluator", + "stdiobasedtestcase": "bash_stdio_evaluator.BashStdioEvaluator" + }, + "scilab": {"standardtestcase": "scilab_code_evaluator.ScilabCodeEvaluator"}, } |