- update to 0.21.0:
* Add `threading.Lock()` to allow `responses` working with `threading` module. * Add `urllib3` `Retry` mechanism. See #135 * Removed internal `_cookies_from_headers` function * Now `add`, `upsert`, `replace` methods return registered response. `remove` method returns list of removed responses. * Added null value support in `urlencoded_params_matcher` via `allow_blank` keyword argument * Added strict version of decorator. Now you can apply `@responses.activate(assert_all_requests_are_fired=True)` to your function to validate that all requests were executed in the wrapped function. See #183 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=43
This commit is contained in:
parent
fa765c64f3
commit
6b8c12617d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:82c047a8f6d84612501db291c7285b9b0b4f04a76274e86ba0c4a6a216b20bd4
|
||||
size 45072
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 09:12:27 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.21.0:
|
||||
* Add `threading.Lock()` to allow `responses` working with `threading` module.
|
||||
* Add `urllib3` `Retry` mechanism. See #135
|
||||
* Removed internal `_cookies_from_headers` function
|
||||
* Now `add`, `upsert`, `replace` methods return registered response.
|
||||
`remove` method returns list of removed responses.
|
||||
* Added null value support in `urlencoded_params_matcher` via `allow_blank` keyword argument
|
||||
* Added strict version of decorator. Now you can apply `@responses.activate(assert_all_requests_are_fired=True)`
|
||||
to your function to validate that all requests were executed in the wrapped function. See #183
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 8 08:25:54 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@ -20,15 +20,13 @@
|
||||
%global skip_python2 1
|
||||
%global skip_python36 1
|
||||
Name: python-responses
|
||||
Version: 0.20.0
|
||||
Version: 0.21.0
|
||||
Release: 0
|
||||
Summary: A utility library for mocking out the `requests` Python library
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/getsentry/responses
|
||||
#Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz
|
||||
# tests dir will be available next release: https://github.com/getsentry/responses/commit/72238a7212665174416bce788bda26a78547aaf4
|
||||
Source: https://github.com/getsentry/responses/archive/refs/tags/0.20.0.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/r/responses/responses-%{version}.tar.gz
|
||||
# test requirements
|
||||
BuildRequires: %{python_module cookies}
|
||||
BuildRequires: %{python_module pytest-localserver}
|
||||
|
3
responses-0.21.0.tar.gz
Normal file
3
responses-0.21.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b82502eb5f09a0289d8e209e7bad71ef3978334f56d09b444253d5ad67bf5253
|
||||
size 65501
|
Loading…
x
Reference in New Issue
Block a user