The www/py-requests-mock port
py3-requests-mock-1.5.2p8 – mock out responses from py-requests (cvsweb github mirror)
Description
The requests library has the concept of pluggable transport adapters. These adapters allow you to register your own handlers for different URIs or protocols. The requests-mock library at its core is simply a transport adapter that can be preloaded with responses that are returned if certain URIs are requested. This is particularly useful in unit tests where you want to return known responses from HTTP requests without making actual calls. As the requests library has very limited options for how to load and use adapters requests-mock also provides a number of ways to make sure the mock adapter is used. These are only loading mechanisms, they do not contain any logic and can be used as a reference to load the adapter in whatever ways works best for your project.WWW: https://pypi.python.org/pypi/requests-mock
Maintainer
Brian Callahan
Categories
Build dependencies
Run dependencies
Reverse dependencies
Files
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/LICENSE
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/METADATA
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/RECORD
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/WHEEL
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/entry_points.txt
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/pbr.json
- /usr/local/lib/python3.12/site-packages/requests_mock-1.5.2.dist-info/top_level.txt
- /usr/local/lib/python3.12/site-packages/requests_mock/
- /usr/local/lib/python3.12/site-packages/requests_mock/__init__.py
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/adapter.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/adapter.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/compat.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/compat.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/exceptions.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/exceptions.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/mocker.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/mocker.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/request.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/request.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/response.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/__pycache__/response.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/adapter.py
- /usr/local/lib/python3.12/site-packages/requests_mock/compat.py
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__init__.py
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/__init__.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/__init__.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/_pytest_plugin.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/_pytest_plugin.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/fixture.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/fixture.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/_pytest_plugin.py
- /usr/local/lib/python3.12/site-packages/requests_mock/contrib/fixture.py
- /usr/local/lib/python3.12/site-packages/requests_mock/exceptions.py
- /usr/local/lib/python3.12/site-packages/requests_mock/mocker.py
- /usr/local/lib/python3.12/site-packages/requests_mock/request.py
- /usr/local/lib/python3.12/site-packages/requests_mock/response.py