summaryrefslogtreecommitdiff
path: root/yaksh/r_code_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/r_code_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/r_code_evaluator.py')
-rw-r--r--yaksh/r_code_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/r_code_evaluator.py b/yaksh/r_code_evaluator.py
index 8eaeb38..8aeb7ec 100644
--- a/yaksh/r_code_evaluator.py
+++ b/yaksh/r_code_evaluator.py
@@ -24,6 +24,7 @@ class RCodeEvaluator(BaseEvaluator):
# Set test case data values
self.test_case = test_case_data.get('test_case')
self.weight = test_case_data.get('weight')
+ self.hidden = test_case_data.get('hidden')
def teardown(self):
# Delete the created file.