master
Commits on Mar 17, 2022
-
deprecate readonly module properties (#497)
Deprecate `responses.assert_all_requests_are_fired`, `responses.passthru_prefixes`, `responses.target`
Commits on Mar 14, 2022
-
-
Move tests to a separate directory (#513)
* move test files * mypy settings
Commits on Mar 7, 2022
-
getsentry-bot committed
Mar 7, 2022
Commits on Mar 4, 2022
-
-
Add shortcut methods for each HTTP method (#508)
* added methods * tests and stub
-
change logic of _get_url_and_path to comply with RFC 3986 (#507)
change logic of _get_url_and_path to comply with RFC 3986
-
-
Add logging of passthrus when there's no match (#505)
* Log out registered passthru prefixes on no match * Update tests to cover new logging
Commits on Feb 22, 2022
-
Fix nested decorators causing mocks leaking (#500)
* clean patcher on exit * add tests and comments Closes #481
-
Add loose comparisons to query_param_matcher (#498)
* allow loose check in query_param_matcher * docs * added test for fail scenario
Commits on Feb 16, 2022
-
Add download count shield image (#494)
Update README.rst to include download shield.
Commits on Feb 9, 2022
-
tests: wrap passthru inside another mock (#495)
* wrap passthru inside another mock * Update responses/test_responses.py Co-authored-by: Mark Story <mark@mark-story.com>
Commits on Feb 7, 2022
Commits on Feb 4, 2022
-
added isort pre-commit hook (#488)
* add isort pre-commit hook * bump precommit version in Makefile * apply isort on files
Commits on Feb 3, 2022
-
-
Add insertion order registry (#477)
* added support for Ordered Registry * added docs & tests.
Commits on Feb 2, 2022
-
getsentry-bot committed
Feb 2, 2022
Commits on Feb 1, 2022
-
-
remove response_callback in exception (#486)
Don't call response_callback in exception handling as the parameter is not a response. Co-authored-by: Mark Story <mark@sentry.io>
-
Fix duplicate content-type silently failing (#487)
When both the `content_type` keyword argument and the `Content-Type` header are defined we have an ambiguous set of parameters. Raise an error to let the developer known they have made an invalid method call. Fixes #483 Co-authored-by: Maksim Beliaev <beliaev.m.s@gmail.com>
Commits on Jan 31, 2022
-
Inline typing for matchers module(#462)
* move matcher types to be inlined. * add types * add ignores
-
* Minor clean up of python2 compatibility code.
Commits on Jan 28, 2022
Commits on Jan 24, 2022
-
Add support for decorating async function (#478)
* added async * fix decorator * added async test * docs
Commits on Jan 20, 2022
-
fix response objects being reused (#480)
copy a response object in registry if one is already registered Fixes #479
Commits on Jan 18, 2022
-
-
-
move registries types into inlines (#472)
* move types into inlines * coverage
-
remove parallel requests branch test (#473)
* remove parallel requests branch test * fix version of requests in setup.py
-
Commits on Jan 17, 2022
Commits on Jan 12, 2022
-
Fix deprecation warning being emitted by add_callback (#470)
* added fix for wrong boolean value in add_callback * added tests to catch the behaviour described in #464