Permalink
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
refactor hook mechanism:
1, remove EventHook; 2, setup_hooks: could reference request dict; 3, teardown_hooks: could reference Response object.
- Loading branch information
Showing
with
161 additions
and 138 deletions.
- +1 −1 httprunner/__about__.py
- +15 −15 httprunner/built_in.py
- +0 −35 httprunner/events.py
- +26 −49 httprunner/runner.py
- +15 −14 httprunner/testcase.py
- +12 −4 tests/debugtalk.py
- +4 −2 tests/httpbin/hooks.yml
- +12 −8 tests/test_client.py
- +1 −1 tests/test_context.py
- +71 −9 tests/test_runner.py
- +4 −0 tests/test_testcase.py
Oops, something went wrong.
This comment has been minimized.
2bb84b3
#219 #215