Skip to content

v1.0.0

Compare
Choose a tag to compare
@devanshshukla99 devanshshukla99 released this 30 Jun 18:16
· 27 commits to main since this release
1fdc683

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)