v2.0.0
Added/Improved Documentation
- Added documentation and examples for :func:
~pytest_response.Response.activate. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__)
Backwards Incompatible Changes
-
Renamed
urllib_fullto_urllibandurllib3_fullto_urllib3, to indicate their threading instability. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__) -
Moving away from commandline arguments
--remote-db/--remote-databasein favour of ini-config optionremote_response_databaseset through pytest with default valuedatabase.db. (#30 <https://github.com/devanshshukla99/pytest-remote-response/pull/30>__)
Deprecations and Removals
- Ability to activate interceptors via command-line argument
--remote={INTERCEPTOR}has been removed in favour of activating via :func:~pytest_response.Response.activatedecorator. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__)
Features
- pytest-remote-response now has a decorator :func:
~pytest_response.Response.activateto apply interceptors on individual functions. It supports string, regex pattern or list of interceptors as argument. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__)
Bug Fixes
- Fixed the documentation examples. (
#26 <https://github.com/devanshshukla99/pytest-remote-response/pull/26>__)
Trivial/Internal Changes
- Moving from :mod:
tinydbto :mod:sqlite3for better threading support and reliability; no changes in public API. (#28 <https://github.com/devanshshukla99/pytest-remote-response/pull/28>__)
What's Changed
- Fixed examples by @devanshshukla99 in #26
- Activate decorator by @devanshshukla99 in #16
- Moving to SQLite3 by @devanshshukla99 in #28
- changelog by @devanshshukla99 in #29
- Moving away from cmd-line arg to ini config for specifying database by @devanshshukla99 in #30
Full Changelog: v1.0.0...v2.0.0