2.0.0 (2022-06-04)

Added/Improved Documentation

  • Added documentation and examples for activate(). (#16)

Backwards Incompatible Changes

  • Renamed urllib_full to _urllib and urllib3_full to _urllib3, to indicate their threading instability. (#16)

  • Moving away from commandline arguments --remote-db / --remote-database in favour of ini-config option remote_response_database set through pytest with default value database.db. (#30)

Deprecations and Removals

  • Ability to activate interceptors via command-line argument --remote={INTERCEPTOR} has been removed in favour of activating via activate() decorator. (#16)

Features

  • pytest-remote-response now has a decorator activate() to apply interceptors on individual functions. It supports string, regex pattern or list of interceptors as argument. (#16)

Bug Fixes

  • Fixed the documentation examples. (#26)

Trivial/Internal Changes

  • Moving from tinydb to sqlite3 for better threading support and reliability; no changes in public API. (#28)