summaryrefslogtreecommitdiff
path: root/yaksh/scilab_code_evaluator.py
diff options
context:
space:
mode:
authorankitjavalkar2016-05-02 14:38:13 +0530
committerankitjavalkar2016-05-09 11:51:06 +0530
commitd953f6f9e62671eeb5d6ea6498475167301dfe91 (patch)
treeca172e52de5e8dd04e97ce7acfa16ab577ab9d58 /yaksh/scilab_code_evaluator.py
parent23b7abd3c1125e4c875e214e4f673c48c4bf4752 (diff)
downloadonline_test-d953f6f9e62671eeb5d6ea6498475167301dfe91.tar.gz
online_test-d953f6f9e62671eeb5d6ea6498475167301dfe91.tar.bz2
online_test-d953f6f9e62671eeb5d6ea6498475167301dfe91.zip
- Fix tests
- Fix minor views.py - Fix minor errors caused due to conflict resolution, rebasing - Fix errors in forms, views - Minor Button label change in addquestion.html - Add snippet to question - Remove commented code
Diffstat (limited to 'yaksh/scilab_code_evaluator.py')
-rw-r--r--yaksh/scilab_code_evaluator.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/yaksh/scilab_code_evaluator.py b/yaksh/scilab_code_evaluator.py
index 3af9782..f4aa5f8 100644
--- a/yaksh/scilab_code_evaluator.py
+++ b/yaksh/scilab_code_evaluator.py
@@ -14,9 +14,7 @@ class ScilabCodeEvaluator(CodeEvaluator):
"""Tests the Scilab code obtained from Code Server"""
def setup(self):
super(ScilabCodeEvaluator, self).setup()
- # ref_path, test_case_path = self._set_test_code_file_path(self.ref_code_path)
self.submit_code_path = self.create_submit_code_file('function.sci')
- # return ref_path, # Return as a tuple
def teardown(self):
super(ScilabCodeEvaluator, self).teardown()
@@ -43,8 +41,6 @@ class ScilabCodeEvaluator(CodeEvaluator):
shell=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
- # success = False
- # proc, stdout, stderr = self.compiled_output
proc, stdout, stderr = ret
# Get only the error.