add setup_hook_prepare_kwargs as default setup hook

This commit is contained in:
httprunner
2018-03-21 20:12:58 +08:00
parent 1ca78b7f53
commit de253cc772
3 changed files with 3 additions and 2 deletions

View File

@@ -113,6 +113,7 @@ class Runner(object):
* *url*: URL that was called (or override name if it was used in the call to the client)
* *kwargs*: kwargs of request
"""
hooks.insert(0, "setup_hook_prepare_kwargs")
event = self._prepare_hooks_event(hooks)
if not event:
return