Skip to content

Releases: devanshshukla99/pytest-remote-response

v2.1.2

26 Apr 13:48
15f4121
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.1...v2.1.2

v2.1.1

21 Apr 01:09
68fbb2c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1...v2.1.1

v2.1

27 Mar 22:05
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.1

v2.0.1

09 Jun 15:08
84b27de
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

05 Jun 10:42
ee9893c
Compare
Choose a tag to compare

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_full to _urllib and urllib3_full to _urllib3, to indicate their threading instability. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/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 <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.activate decorator. (#16 <https://github.com/devanshshukla99/pytest-remote-response/pull/16>__)

Features

  • pytest-remote-response now has a decorator :func:~pytest_response.Response.activate to 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:tinydb to :mod:sqlite3 for better threading support and reliability; no changes in public API. (#28 <https://github.com/devanshshukla99/pytest-remote-response/pull/28>__)

What's Changed

Full Changelog: v1.0.0...v2.0.0

v1.0.0

30 Jun 18:16
1fdc683
Compare
Choose a tag to compare

Bug Fixes

  • Fixed pytest_response.app.Response and added another exception ~pytest_response.exceptions.DatabaseNotFound. (#13)

Added/Improved Documentation

  • More simplified README.rst page. (#7)
  • Added more informative doc-strings. (#10)
  • Added a supported clients list in the documentation. (#18)
  • Documentation now hosts getting-started, why and how-it-works pages! (#21)
  • Added documentation and example usage of ~pytest_response.database.ResponseDB in the how-it-works page. (#23)

Backwards Incompatible Changes

  • Renamed package from pytest-response to pytest-remote-response. (#9)
  • Renamed interceptors to a more clear norm. (#15)

Features

  • Instead of moving through entire pipleline, now the interceptors will return a pytest_response.app.BaseMockResponse directly. (#1)
  • Added a pytest_response.app.Response.configure method for setting values of remote, capture and response. (#3)
  • Added interceptor for aiohttp library. (#4)

Trivial/Internal Changes

  • Similified pytest_response.logger.log use. (#3)
  • Now the pytest_response.database.ResponseDB.get method will automatically rstrip "/", useful in comparing URLs. (#4)
  • Now status code will also be dumped/responded with along with data and headers. (#6)
  • Simplified GitHub actions as a two step process. (#8)

v0.21

23 Jun 14:49
7bd3680
Compare
Choose a tag to compare
fixed readme

0.2.1

23 Jun 18:57
ecb6650
Compare
Choose a tag to compare
release

v0.2

23 Jun 14:31
0aaff20
Compare
Choose a tag to compare
fix readme

v0.1

23 Jun 07:38
da55ed7
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release
configuring release