14
0

- update to 0.13.3:

* Switch from Travis to GHA for deployment.
  * Fixed incorrect type stubs for `add_callback`
  * Fixed packages not containing type stubs.
  * `responses.upsert()` was added. This method will `add()` a response if one
    has not already been registered for a URL, or `replace()` an existing
    response.
  * `responses.registered()` was added. The method allows you to get a list of
    the currently registered responses. This formalizes the previously private
    `responses.mock._matches` method.
  * A more useful `__repr__` has been added to `Response`.
  * Error messages have been improved.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-responses?expand=0&rev=31
This commit is contained in:
2021-05-18 22:14:59 +00:00
committed by Git OBS Bridge
parent a3925154b0
commit c761488a05
4 changed files with 20 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-responses
Version: 0.12.1
Version: 0.13.3
Release: 0
Summary: A utility library for mocking out the `requests` Python library
License: Apache-2.0