diff options
author | Prabhu Ramachandran | 2014-06-06 10:42:05 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2014-06-06 10:42:05 +0530 |
commit | 8b5d13df2a8f4ac3acc075c522128722b987e57b (patch) | |
tree | 5097f9bada96d00ad1c9b30b691723f1c2b07c18 /testapp/exam | |
parent | dff8905769f900b17124a6cf2c79ec5678faed66 (diff) | |
parent | 83b3d80a2cdc2a342a521fe71cad72e081d6df5f (diff) | |
download | online_test-8b5d13df2a8f4ac3acc075c522128722b987e57b.tar.gz online_test-8b5d13df2a8f4ac3acc075c522128722b987e57b.tar.bz2 online_test-8b5d13df2a8f4ac3acc075c522128722b987e57b.zip |
Merge pull request #20 from prathamesh920/scilab_autocheck
Scilab autocheck
Diffstat (limited to 'testapp/exam')
-rw-r--r-- | testapp/exam/forms.py | 1 | ||||
-rw-r--r-- | testapp/exam/models.py | 1 | ||||
-rw-r--r-- | testapp/exam/xmlrpc_clients.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/testapp/exam/forms.py b/testapp/exam/forms.py index d711f6a..dc19783 100644 --- a/testapp/exam/forms.py +++ b/testapp/exam/forms.py @@ -19,6 +19,7 @@ QUESTION_TYPE_CHOICES = ( ("C", "C Language"), ("C++", "C++ Language"), ("java", "Java Language"), + ("scilab", "Scilab"), ) UNAME_CHARS = letters + "._" + digits diff --git a/testapp/exam/models.py b/testapp/exam/models.py index 713260b..758091f 100644 --- a/testapp/exam/models.py +++ b/testapp/exam/models.py @@ -23,6 +23,7 @@ QUESTION_TYPE_CHOICES = ( ("C", "C Language"), ("C++", "C++ Language"), ("java", "Java Language"), + ("scilab", "Scilab"), ) ################################################################################ diff --git a/testapp/exam/xmlrpc_clients.py b/testapp/exam/xmlrpc_clients.py index cc21e62..14ebf27 100644 --- a/testapp/exam/xmlrpc_clients.py +++ b/testapp/exam/xmlrpc_clients.py @@ -26,6 +26,7 @@ class CodeServerProxy(object): "C": "run_c_code", "C++": "run_cplus_code", "java": "run_java_code", + "scilab": "run_scilab_code", } def run_code(self, answer, test_code, user_dir, language): |