summaryrefslogtreecommitdiff
path: root/yaksh/bash_code_evaluator.py
diff options
context:
space:
mode:
authorankitjavalkar2016-11-04 18:07:35 +0530
committerankitjavalkar2016-11-10 12:43:14 +0530
commit576c92b3b7d8989bf6bb99316d096f48f5b4cc24 (patch)
treef1f36b8cae1c9ffad9c5cb5637e857ad9b01aba4 /yaksh/bash_code_evaluator.py
parent0bfa58d8705fa08b45a208a4cec98dd267799f8a (diff)
downloadonline_test-576c92b3b7d8989bf6bb99316d096f48f5b4cc24.tar.gz
online_test-576c92b3b7d8989bf6bb99316d096f48f5b4cc24.tar.bz2
online_test-576c92b3b7d8989bf6bb99316d096f48f5b4cc24.zip
Fix test cases for partial grading feature
Diffstat (limited to 'yaksh/bash_code_evaluator.py')
-rw-r--r--yaksh/bash_code_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/bash_code_evaluator.py b/yaksh/bash_code_evaluator.py
index 7dc0f0f..4ca5445 100644
--- a/yaksh/bash_code_evaluator.py
+++ b/yaksh/bash_code_evaluator.py
@@ -28,7 +28,7 @@ class BashCodeEvaluator(CodeEvaluator):
delete_files(self.files)
super(BashCodeEvaluator, self).teardown()
- def check_code(self, file_paths, partial_grading, test_case, marks):
+ def check_code(self, user_answer, file_paths, partial_grading, test_case, marks):
""" Function validates student script using instructor script as
reference. Test cases can optionally be provided. The first argument
ref_path, is the path to instructor script, it is assumed to