Contents

requests-mock 1.12.1

0

Mock out responses from the requests package

Mock out responses from the requests package

Stars: 440, Watchers: 440, Forks: 70, Open Issues: 63

The jamielennox/requests-mock repo was created 9 years ago and the last code push was 2 months ago.
The project is popular with 440 github stars!

How to Install requests_mock

You can install requests_mock using pip

pip install requests_mock

or add it to a project with poetry

poetry add requests_mock

Package Details

Author
Jamie Lennox
License
Apache-2
Homepage
https://requests-mock.readthedocs.io/
PyPi:
https://pypi.org/project/requests-mock/
GitHub Repo:
https://github.com/jamielennox/requests-mock

Classifiers

  • Software Development/Testing
No  requests_mock  pypi packages just yet.

Errors

A list of common requests_mock errors.

Code Examples

Here are some requests_mock code examples and snippets.

GitHub Issues

The requests_mock package has 63 open issues on GitHub

  • match strange URL doesn't work…
  • Type annotation for register_uri(text=…) doesn't support dynamic invocation

See more issues on GitHub

Related Packages & Articles

trustme 1.2.0

#1 quality TLS certs while you wait, for the discerning tester

respx 0.21.1

A utility for mocking out the Python HTTPX and HTTP Core libraries.

pywinauto 0.6.8

A set of Python modules to automate the Microsoft Windows GUI

pytest-github 0.3.1

Plugin for py.test that associates tests with github issues using a marker.

pandera 0.20.4

A light-weight and flexible data validation and testing tool for statistical data objects.