summaryrefslogtreecommitdiff
path: root/yaksh/hook_evaluator.py
diff options
context:
space:
mode:
authorprathamesh2020-06-10 11:56:49 +0530
committerprathamesh2020-06-10 11:56:49 +0530
commitc27bc87afd68266da59af6e7f2b3b8cc8db13fad (patch)
tree9075a0019cbba086f4bdefb54346b259d8580cb6 /yaksh/hook_evaluator.py
parent73dc8f6820c6c86fd8e70a68456ca2e541801bde (diff)
downloadonline_test-c27bc87afd68266da59af6e7f2b3b8cc8db13fad.tar.gz
online_test-c27bc87afd68266da59af6e7f2b3b8cc8db13fad.tar.bz2
online_test-c27bc87afd68266da59af6e7f2b3b8cc8db13fad.zip
Allow moderator to hide test cases from the user
Diffstat (limited to 'yaksh/hook_evaluator.py')
-rw-r--r--yaksh/hook_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/hook_evaluator.py b/yaksh/hook_evaluator.py
index 33c1549..ff428c3 100644
--- a/yaksh/hook_evaluator.py
+++ b/yaksh/hook_evaluator.py
@@ -25,6 +25,7 @@ class HookEvaluator(BaseEvaluator):
# Set test case data values
self.hook_code = test_case_data.get('hook_code')
self.weight = test_case_data.get('weight')
+ self.hidden = test_case_data.get('hidden')
def teardown(self):
# Delete the created file.