Responses 0.13.0
responses.upsert()
was added. This method willadd()
a response if one has not already been registered for a URL, orreplace()
an existing response.responses.registered()
was added. The method allows you to get a list of the currently registered responses. This formalizes the previously privateresponses.mock._matches
method.- A more useful
__repr__
has been added toResponse
. - Error messages have been improved.