python-requests-mock

Edit Package python-requests-mock
No description set
Refresh
Refresh
Source Files
Filename Size Changed
python-requests-mock.changes 0000012000 11.7 KB
python-requests-mock.spec 0000002236 2.18 KB
requests-mock-1.11.0.tar.gz 0000074377 72.6 KB
Revision 22 (latest revision is 25)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1129211 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 22)
- 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)
Comments 0
openSUSE Build Service is sponsored by