fix: missing setup_hooks and teardown hooks

This commit is contained in:
debugtalk
2020-05-29 19:03:29 +08:00
parent 63f115c38e
commit f2c686dceb
3 changed files with 21 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
# NOTICE: Generated By HttpRunner. DO NOT EDIT!
# FROM: examples/httpbin/hooks.yml
from httprunner import HttpRunner, TConfig, TStep
@@ -11,6 +12,7 @@ class TestCaseHooks(HttpRunner):
"setup_hooks": ["${hook_print(setup)}"],
"teardown_hooks": ["${hook_print(teardown)}"],
"path": "examples/httpbin/hooks_test.py",
"variables": {},
}
)