summaryrefslogtreecommitdiff
path: root/yaksh/base_evaluator.py
diff options
context:
space:
mode:
authoradityacp2017-01-04 11:42:32 +0530
committeradityacp2017-01-04 11:42:32 +0530
commit58481cdcba38e8e602b8e2d3e5172f9e653f93a9 (patch)
tree21312113c078b6b22f24d5bab052a52bd185a3c9 /yaksh/base_evaluator.py
parentb271e3b33f673c70114893bf461d2a6116dd7cf7 (diff)
parentef6a61b1938ec399efb6d66b914f245afa3ed5ff (diff)
downloadonline_test-58481cdcba38e8e602b8e2d3e5172f9e653f93a9.tar.gz
online_test-58481cdcba38e8e602b8e2d3e5172f9e653f93a9.tar.bz2
online_test-58481cdcba38e8e602b8e2d3e5172f9e653f93a9.zip
Merge https://github.com/fossee/online_test into fix_management_commands
Diffstat (limited to 'yaksh/base_evaluator.py')
-rw-r--r--yaksh/base_evaluator.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/yaksh/base_evaluator.py b/yaksh/base_evaluator.py
index ce1647f..071008f 100644
--- a/yaksh/base_evaluator.py
+++ b/yaksh/base_evaluator.py
@@ -62,15 +62,6 @@ class BaseEvaluator(object):
submit_f.write(user_answer.lstrip())
submit_f.close()
- def _set_test_code_file_path(self, ref_path=None, test_case_path=None):
- if ref_path and not ref_path.startswith('/'):
- ref_path = join(MY_DIR, ref_path)
-
- if test_case_path and not test_case_path.startswith('/'):
- test_case_path = join(MY_DIR, test_case_path)
-
- return ref_path, test_case_path
-
def _set_file_as_executable(self, fname):
os.chmod(fname, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR
| stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP