mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-13 19:59:37 +08:00
add setup_hook_prepare_kwargs as default setup hook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user