summaryrefslogtreecommitdiff
path: root/yaksh/java_code_evaluator.py
diff options
context:
space:
mode:
authorankitjavalkar2016-12-22 15:55:54 +0530
committerankitjavalkar2016-12-22 16:51:26 +0530
commit42ed7c142e2c4ff4dccdaec2365e22d30bc276dd (patch)
treed1eb3c0039478294f4169d6e761ed42dd78a6327 /yaksh/java_code_evaluator.py
parenta88197040b69a556f9c7b0432350b9d1d4aad06f (diff)
downloadonline_test-42ed7c142e2c4ff4dccdaec2365e22d30bc276dd.tar.gz
online_test-42ed7c142e2c4ff4dccdaec2365e22d30bc276dd.tar.bz2
online_test-42ed7c142e2c4ff4dccdaec2365e22d30bc276dd.zip
Refactor check method for cleaner code and fixing multiple issues
- Question should skip to new question with new error rendering - Fix test cases Fix change_dir context manager in grader
Diffstat (limited to 'yaksh/java_code_evaluator.py')
-rw-r--r--yaksh/java_code_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/java_code_evaluator.py b/yaksh/java_code_evaluator.py
index ab8160c..91e5840 100644
--- a/yaksh/java_code_evaluator.py
+++ b/yaksh/java_code_evaluator.py
@@ -18,6 +18,7 @@ class JavaCodeEvaluator(BaseEvaluator):
self.files = []
self.compiled_user_answer = None
self.compiled_test_code = None
+ self.submit_code_path = ""
self.user_output_path = ""
self.ref_output_path = ""