def _inner_decorator(test_function): hooks = grader.get_setting(test_function, "post-hooks") + (action,) grader.set_setting(test_function, "post-hooks", hooks) return test_function
def _inner_decorator(test_function): hooks = grader.get_setting(test_function, "post-hooks") + (action, ) grader.set_setting(test_function, "post-hooks", hooks) return test_function
def _inner(test_function): grader.set_setting(test_function, "timeout", seconds) return test_function