From c27bc87afd68266da59af6e7f2b3b8cc8db13fad Mon Sep 17 00:00:00 2001 From: prathamesh Date: Wed, 10 Jun 2020 11:56:49 +0530 Subject: Allow moderator to hide test cases from the user --- yaksh/hook_evaluator.py | 1 + 1 file changed, 1 insertion(+) (limited to 'yaksh/hook_evaluator.py') 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. -- cgit