- update to 0.14.0:
* Added `responses.matchers`. * Moved `responses.json_params_matcher` to `responses.matchers.json_param_matcher` * Moved `responses.urlencoded_params_matcher` to `responses.matchers.urlencoded_param_matcher` * Added `responses.query_params_matcher`. This matcher allows you to match query strings with a dictionary. * Added `auto_calculate_content_length` option to `responses.add()`. When enabled, this option will generate a `Content-Length` header based on the number of bytes in the response body. * Improve typing support * Use URLs with normalized hostnames when comparing URLs. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=33
This commit is contained in:
parent
c761488a05
commit
350269737d
@ -1,3 +1,19 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 26 20:49:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.14.0:
|
||||||
|
* Added `responses.matchers`.
|
||||||
|
* Moved `responses.json_params_matcher` to `responses.matchers.json_param_matcher`
|
||||||
|
* Moved `responses.urlencoded_params_matcher` to
|
||||||
|
`responses.matchers.urlencoded_param_matcher`
|
||||||
|
* Added `responses.query_params_matcher`. This matcher allows you to match
|
||||||
|
query strings with a dictionary.
|
||||||
|
* Added `auto_calculate_content_length` option to `responses.add()`. When
|
||||||
|
enabled, this option will generate a `Content-Length` header
|
||||||
|
based on the number of bytes in the response body.
|
||||||
|
* Improve typing support
|
||||||
|
* Use URLs with normalized hostnames when comparing URLs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 18 22:14:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Tue May 18 22:14:04 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-responses
|
Name: python-responses
|
||||||
Version: 0.13.3
|
Version: 0.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A utility library for mocking out the `requests` Python library
|
Summary: A utility library for mocking out the `requests` Python library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:18a5b88eb24143adbf2b4100f328a2f5bfa72fbdacf12d97d41f07c26c45553d
|
|
||||||
size 30327
|
|
3
responses-0.14.0.tar.gz
Normal file
3
responses-0.14.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:93f774a762ee0e27c0d9d7e06227aeda9ff9f5f69392f72bb6c6b73f8763563e
|
||||||
|
size 32666
|
Loading…
Reference in New Issue
Block a user