14
0

- 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:
2022-06-20 09:12:47 +00:00
committed by Git OBS Bridge
parent fa765c64f3
commit 6b8c12617d
4 changed files with 18 additions and 7 deletions

View File

@@ -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