diff options
author | ankitjavalkar | 2015-05-12 17:35:16 +0530 |
---|---|---|
committer | ankitjavalkar | 2015-05-12 17:35:16 +0530 |
commit | 5b23647de575fd90552807260a4b8e0a96ab6afe (patch) | |
tree | 1c0c3f2e8605d6f36405c57cbe5de9a895a47958 /testapp/exam/bash_code_evaluator.py | |
parent | 3e29dc7f6df7019562b179872b43cb13c7483738 (diff) | |
download | online_test-5b23647de575fd90552807260a4b8e0a96ab6afe.tar.gz online_test-5b23647de575fd90552807260a4b8e0a96ab6afe.tar.bz2 online_test-5b23647de575fd90552807260a4b8e0a96ab6afe.zip |
Seperated tests into seperate folder, formatting changes
Diffstat (limited to 'testapp/exam/bash_code_evaluator.py')
-rw-r--r-- | testapp/exam/bash_code_evaluator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/exam/bash_code_evaluator.py b/testapp/exam/bash_code_evaluator.py index 7fcfb0f..23c0ae5 100644 --- a/testapp/exam/bash_code_evaluator.py +++ b/testapp/exam/bash_code_evaluator.py @@ -23,11 +23,11 @@ class BashCodeEvaluator(CodeEvaluator): def _setup(self): super(BashCodeEvaluator, self)._setup() - self.set_file_as_executable(self.submit_path) + self._set_file_as_executable(self.submit_path) get_ref_path, get_test_case_path = self.ref_code_path.strip().split(',') get_ref_path = get_ref_path.strip() get_test_case_path = get_test_case_path.strip() - ref_path, test_case_path = self.set_test_code_file_path(get_ref_path, + ref_path, test_case_path = self._set_test_code_file_path(get_ref_path, get_test_case_path) return ref_path, self.submit_path, test_case_path |