Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python312-requests-mock | Distribution: openSUSE:Factory:zSystems |
Version: 1.12.1 | Vendor: openSUSE |
Release: 2.1 | Build date: Wed May 8 08:40:50 2024 |
Group: Unspecified | Build host: reproducible |
Size: 139764 | Source RPM: python-requests-mock-1.12.1-2.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/jamielennox/requests-mock | |
Summary: Module to mock out responses from the requests package |
requests-mock provides a building block to stub out the HTTP requests portions of your testing code. You should checkout the docs for more information.
Apache-2.0
* Wed May 08 2024 Steve Kowalik <steven.kowalik@suse.com> - Use the %pyunittest macro to run tests (because of testtools) * Sat Apr 06 2024 Dirk Müller <dmueller@suse.com> - update to 1.12.1: * Set python_requires to >3 to prevent installation in python2 deployments. - update to 1.12.0: * Remove py2 * Allow `raw` parameter to accept callable like body elements * Improve type definition of `Mocker.__call__` * Drop PBR Support * fix(mocker.pyi): fix Mocker class type hints * Remove unused `six` dependency * Wed Mar 13 2024 Steve Kowalik <steven.kowalik@suse.com> - Drop unneeded Requires, and also no longer restrict urllib3. - Switch to pyproject macros. * Mon Jul 17 2023 Dirk Müller <dmueller@suse.com> - update to 1.11.0: * Exposes some public type aliases (for type hinting only, they can't be instanciated) * for the types intended to be used by `requests_mock` users. * The following types are now exposed: * `requests_mock.Context` used in callbacks * `requests_mock.Request` used in callbacks, which is a `requests.PreparedRequest` proxy. * `requests_mock.Callback[T]` which is the callbacks type. * .. _requests-mock_1.11.0_Bug Fixes: * Some typing inconsistencies have been fixed. * Especially for `request` object in signatures which is in fact a `requests_mock.Request` object. * Fix incompatibility with urllib3 >2.0.0. In 2.0.0 they default to enforcing content length checking on returned bodies in responses from the previous default of false. However the flag is still available so for compatibility we can just default the other way. - drop remove-mock.patch (upstream) * Fri Apr 21 2023 Dirk Müller <dmueller@suse.com> - add sle15_python_module_pythons (jsc#PED-68) * Thu Apr 13 2023 Matej Cepl <mcepl@suse.com> - Make calling of %{sle15modernpython} optional. * Wed Feb 01 2023 Dirk Müller <dmueller@suse.com> - switch to run tests with pytest - build with all python flavors for SLE 15 SP4+ * Sat Jan 07 2023 Dirk Müller <dmueller@suse.com> - update to 1.10.0: * Add a release note for the RLock * Allow passing json\_encoder to mocking * Improvements to Type Hints * Lint fix for long line exception * Shorten line length of comments * Workaround for python2.7 not supporting lock timeout * Comments to explain reentrant behaviour * Change to use RLock and set a timeout to prevent infinite deadlocks * Update homepage/doc URLs of requests library * Add comment for pytest late loading feature * pytest plugin should lazy-load requests\_mock * Add test for threaded race condition * Use threading.Lock() to prevent race conditions around monkeypatching of get\_adapter() * add GitHub URL for PyPi * Add reset methods on the Mocker class type * Avoid using distutils to check pytest version * YAML quoting * Support Python 3.10 * Minor changes to code snippet example * Fix DeprecationWarnings in setup.cfg keys * a few minor fixes and proposed changes to documentation files * Improve response-related param type hints * Explicitly indicate start of keyword-only args * Fix failing pytest * Fri Jul 22 2022 Steve Kowalik <steven.kowalik@suse.com> - Add patch remove-mock.patch: * Use unittest.mock if available. * Sun Jun 06 2021 Dirk Müller <dmueller@suse.com> - update to 1.9.3: * Release note for 1.9.3 type annotations * Additional improvements to response matching type stubs * Improve MockerCore type stubs * Tue May 18 2021 Dirk Müller <dmueller@suse.com> - update to 1.9.2: * Add release note for urlquote fix * Simple tests to ensure character encoding works * Use requests to quote URLs * Remove circleci badge from README * Restore py.typed file to enable types * Change tag pattern * Url Quote the path provided to the mocker * Use github action to push a release to PyPI (#163) * Release note for type hints * Add [PEP 484](https://www.python.org/dev/peps/pep-0484/) type hints * Mocker.copy: Use correct type when copying mocker * Run unit tests for pull requests as well * Add support for Python up to 3.9 * Use Github Actions * Make is\_bound\_method private * Add release note for fixed bug * Correctly handle an explicit zero byte read * Add missing string delimiter in example * fix: is\_bound\_method by six * fix: \`session\` and \`real\_http\` cannot be used at the same time
/usr/lib/python3.12/site-packages/requests_mock /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/INSTALLER /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/LICENSE /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/METADATA /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/RECORD /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/REQUESTED /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/WHEEL /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/entry_points.txt /usr/lib/python3.12/site-packages/requests_mock-1.12.1.dist-info/top_level.txt /usr/lib/python3.12/site-packages/requests_mock/__init__.py /usr/lib/python3.12/site-packages/requests_mock/__init__.pyi /usr/lib/python3.12/site-packages/requests_mock/__pycache__ /usr/lib/python3.12/site-packages/requests_mock/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/adapter.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/adapter.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/exceptions.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/exceptions.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/mocker.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/mocker.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/request.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/request.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/response.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/__pycache__/response.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/adapter.py /usr/lib/python3.12/site-packages/requests_mock/adapter.pyi /usr/lib/python3.12/site-packages/requests_mock/contrib /usr/lib/python3.12/site-packages/requests_mock/contrib/__init__.py /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__ /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/_pytest_plugin.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/_pytest_plugin.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/fixture.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/requests_mock/contrib/__pycache__/fixture.cpython-312.pyc /usr/lib/python3.12/site-packages/requests_mock/contrib/_pytest_plugin.py /usr/lib/python3.12/site-packages/requests_mock/contrib/_pytest_plugin.pyi /usr/lib/python3.12/site-packages/requests_mock/contrib/fixture.py /usr/lib/python3.12/site-packages/requests_mock/exceptions.py /usr/lib/python3.12/site-packages/requests_mock/exceptions.pyi /usr/lib/python3.12/site-packages/requests_mock/mocker.py /usr/lib/python3.12/site-packages/requests_mock/mocker.pyi /usr/lib/python3.12/site-packages/requests_mock/py.typed /usr/lib/python3.12/site-packages/requests_mock/request.py /usr/lib/python3.12/site-packages/requests_mock/request.pyi /usr/lib/python3.12/site-packages/requests_mock/response.py /usr/lib/python3.12/site-packages/requests_mock/response.pyi /usr/share/doc/packages/python312-requests-mock /usr/share/doc/packages/python312-requests-mock/README.rst /usr/share/licenses/python312-requests-mock /usr/share/licenses/python312-requests-mock/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Nov 7 00:41:23 2024