-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency responses to v0.25.6 #40
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/responses-0.x
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f2e5fa
to
a6f17ba
Compare
a6f17ba
to
c431488
Compare
c431488
to
efe3272
Compare
efe3272
to
19b87bb
Compare
19b87bb
to
d31c59e
Compare
d31c59e
to
b3d52e2
Compare
b3d52e2
to
e928237
Compare
e928237
to
b2f5d09
Compare
b2f5d09
to
1f1cafe
Compare
1f1cafe
to
ccf0153
Compare
ccf0153
to
f4fd09a
Compare
f4fd09a
to
ad6403c
Compare
ad6403c
to
347e278
Compare
347e278
to
0062ce2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.16.0
->==0.25.6
Release Notes
getsentry/responses (responses)
v0.25.6
Compare Source
v0.25.5
Compare Source
v0.25.3
Compare Source
recorder
not saving and loading response headers with yaml files. See #715v0.25.2
Compare Source
matchers.body_matcher
for matching string request bodies. See #717v0.25.0
Compare Source
matchers.header_matcher
not failing when a matched header is missing from the request. See #702v0.24.1
Compare Source
Call
attributes.v0.24.0
Compare Source
BaseResponse.calls
to access calls data of a separate mocked request. See #664real_adapter_send
parameter toRequestsMock
that will allow users to setthrough which function they would like to send real requests
json_params_matcher
.Content-Type
headers issue when the header was duplicated. See #644tests_requires
v0.23.3
Compare Source
v0.23.2
Compare Source
unbound_on_send
method inRequestsMock
class. This method returns new functionthat is called by
RequestsMock
instead of originalsend
method defined by any adapter.v0.23.1
Compare Source
tomli
import. See #630v0.23.0
Compare Source
CallList
. See #593request
object is attached to any custom exception provided asResponse
body
argument. See #588assert_all_requests_are_fired
and a request was not fired.responses.RequestsMock._parse_response_file
andresponses._recorder.Recorder.dump_to_file
methods that allow users to override default parser to eg toml, jsonv0.22.0
Compare Source
requests
dependency to the version of 2.22.0 or higher. See #584.@_recorder.record(file_path="out.toml")
decorator.via
responses._add_from_file(file_path="out.toml")
method.mock
's patcher object. See #556CallList
passthrough
argument toBaseResponse
object. See #557registries
leak. See #563OriginalResponseShim
is removed. See #585loose
version ofjson_params_matcher
via named argumentstrict_match
. See #551json_params_matcher
. See #559delete
,get
,head
,options
,patch
,post
,put
shortcuts are now implemented usingfunctools.partialmethod
.MaxRetryError
exception. Replace exception byRetryError
according torequests
implementation. See #572.Retry
is exhausted. See #580.v0.21.0
Compare Source
threading.Lock()
to allowresponses
working withthreading
module.urllib3
Retry
mechanism. See #135_cookies_from_headers
functionadd
,upsert
,replace
methods return registered response.remove
method returns list of removed responses.urlencoded_params_matcher
viaallow_blank
keyword argument@responses.activate(assert_all_requests_are_fired=True)
to your function to validate that all requests were executed in the wrapped function. See #183
v0.20.0
Compare Source
responses.assert_all_requests_are_fired
,responses.passthru_prefixes
,responses.target
since they are not actual properties of the class instance.
Use
responses.mock.assert_all_requests_are_fired
,responses.mock.passthru_prefixes
,responses.mock.target
instead.reset()
method was called in not stopped mock. See #511v0.19.0
Compare Source
See
responses.registries.OrderedRegistry
.For example, to add response for POST request you can use
responses.post()
insteadof
responses.add(responses.POST)
.responses.activate
decorator to leak, if wrapped function called from within anotherwrapped function. Also, allow calling of above mentioned chain. See #481 for more details.
get_registry()
method ofRequestsMock
object. Replaces internal_get_registry()
.query_param_matcher
can now accept dictionaries withint
andfloat
values.loose
version ofquery_param_matcher
via named argumentstrict_match
.async/await
functions.response_callback
is no longer executed on exceptions raised by failedResponse
s_get_url_and_path
to comply with RFC 3986. Now URL match occurs by matchingschema, authority and path, where path is terminated by the first question mark ("?") or
number sign ("#") character, or by the end of the URI.
content_type
andheaders[content-type]
are provided as parameters.v0.18.0
Compare Source
responses.activate
decorator. See #468_is_string
and_ensure_str
functions_quote
fromtest_responses.py
_matches
attribute ofRequestsMock
object.in
responses.add_callback
due tomatch_querystring
. See #464v0.17.0
Compare Source
response.iter_content
whenchunk_size=None
entered infinite looppassthru_prefixes
persisted across tests.Now
add_passthru
is valid only within a context manager or for a single function andcleared on exit
match_querystring
argument inResponse
andCallbackResponse
.Use
responses.matchers.query_param_matcher
orresponses.matchers.query_string_matcher
responses.matchers.multipart_matcher
responses.registries
. Now user can create custom registries tomanipulate the order of responses in the match algorithm
responses.activate(registry=CustomRegistry)
same URL. See Issue #212
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.