forked from pool/python-responses
- update to 0.15.0:
* Added `responses.PassthroughResponse` and `reponses.BaseResponse.passthrough`. These features make building passthrough responses more compatible with dynamcially generated response objects. * Removed the unused ``_is_redirect()`` function from responses internals. * Added `responses.matchers.request_kwargs_matcher`. This matcher allows you to match additional request arguments like `stream`. * Added `responses.matchers.multipart_matcher`. This matcher allows you to match request body and headers for ``multipart/form-data`` data * Added `responses.matchers.query_string_matcher`. This matcher allows you to match request query string, similar to `responses.matchers.query_param_matcher`. * Added `responses.matchers.header_matcher()`. This matcher allows you to match request headers. By default only headers supplied to `header_matcher()` are checked. You can make header matching exhaustive by passing `strict_match=True` to `header_matcher()`. * Changed all matchers output message in case of mismatch. Now message is aligned between Python2 and Python3 versions * Deprecate ``stream`` argument in ``Response`` and ``CallbackResponse`` * Added Python 3.10 support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=34
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 30 20:38:16 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.15.0:
|
||||
* Added `responses.PassthroughResponse` and
|
||||
`reponses.BaseResponse.passthrough`. These features make building passthrough
|
||||
responses more compatible with dynamcially generated response objects.
|
||||
* Removed the unused ``_is_redirect()`` function from responses internals.
|
||||
* Added `responses.matchers.request_kwargs_matcher`. This matcher allows you
|
||||
to match additional request arguments like `stream`.
|
||||
* Added `responses.matchers.multipart_matcher`. This matcher allows you
|
||||
to match request body and headers for ``multipart/form-data`` data
|
||||
* Added `responses.matchers.query_string_matcher`. This matcher allows you
|
||||
to match request query string, similar to `responses.matchers.query_param_matcher`.
|
||||
* Added `responses.matchers.header_matcher()`. This matcher allows you to match
|
||||
request headers. By default only headers supplied to `header_matcher()` are checked.
|
||||
You can make header matching exhaustive by passing `strict_match=True` to `header_matcher()`.
|
||||
* Changed all matchers output message in case of mismatch. Now message is aligned
|
||||
between Python2 and Python3 versions
|
||||
* Deprecate ``stream`` argument in ``Response`` and ``CallbackResponse``
|
||||
* Added Python 3.10 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 26 20:49:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
Reference in New Issue
Block a user