From cc60f2bf2051f3e4266434c4f42102c1c797e501 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Mon, 30 Jul 2018 15:38:39 +0800 Subject: [PATCH] add TODO: check hook function if valid --- httprunner/runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/httprunner/runner.py b/httprunner/runner.py index 1742f249..78f190f6 100644 --- a/httprunner/runner.py +++ b/httprunner/runner.py @@ -102,6 +102,7 @@ class Runner(object): def do_hook_actions(self, actions): for action in actions: logger.log_debug("call hook: {}".format(action)) + # TODO: check hook function if valid self.context.eval_content(action) def run_test(self, testcase_dict):