-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency responses to v0.25.8 #40
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
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 hidden or 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
0062ce2 to
6ed42bb
Compare
6ed42bb to
3274682
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.8Release Notes
getsentry/responses (responses)
v0.25.8Compare Source
v0.25.7Compare Source
v0.25.6Compare Source
v0.25.5Compare Source
v0.25.3Compare Source
recordernot saving and loading response headers with yaml files. See #715v0.25.2Compare Source
matchers.body_matcherfor matching string request bodies. See #717v0.25.0Compare Source
matchers.header_matchernot failing when a matched header is missing from the request. See #702v0.24.1Compare Source
Callattributes.v0.24.0Compare Source
BaseResponse.callsto access calls data of a separate mocked request. See #664real_adapter_sendparameter toRequestsMockthat will allow users to setthrough which function they would like to send real requests
json_params_matcher.Content-Typeheaders issue when the header was duplicated. See #644tests_requiresv0.23.3Compare Source
v0.23.2Compare Source
unbound_on_sendmethod inRequestsMockclass. This method returns new functionthat is called by
RequestsMockinstead of originalsendmethod defined by any adapter.v0.23.1Compare Source
tomliimport. See #630v0.23.0Compare Source
CallList. See #593requestobject is attached to any custom exception provided asResponsebodyargument. See #588assert_all_requests_are_firedand a request was not fired.responses.RequestsMock._parse_response_fileandresponses._recorder.Recorder.dump_to_filemethods that allow users to override default parser to eg toml, jsonv0.22.0Compare Source
requestsdependency 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 #556CallListpassthroughargument toBaseResponseobject. See #557registriesleak. See #563OriginalResponseShimis removed. See #585looseversion ofjson_params_matchervia named argumentstrict_match. See #551json_params_matcher. See #559delete,get,head,options,patch,post,putshortcuts are now implemented usingfunctools.partialmethod.MaxRetryErrorexception. Replace exception byRetryErroraccording torequestsimplementation. See #572.Retryis exhausted. See #580.v0.21.0Compare Source
threading.Lock()to allowresponsesworking withthreadingmodule.urllib3Retrymechanism. See #135_cookies_from_headersfunctionadd,upsert,replacemethods return registered response.removemethod returns list of removed responses.urlencoded_params_matcherviaallow_blankkeyword 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.0Compare Source
responses.assert_all_requests_are_fired,responses.passthru_prefixes,responses.targetsince they are not actual properties of the class instance.
Use
responses.mock.assert_all_requests_are_fired,responses.mock.passthru_prefixes,responses.mock.targetinstead.reset()method was called in not stopped mock. See #511v0.19.0Compare Source
See
responses.registries.OrderedRegistry.For example, to add response for POST request you can use
responses.post()insteadof
responses.add(responses.POST).responses.activatedecorator 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 ofRequestsMockobject. Replaces internal_get_registry().query_param_matchercan now accept dictionaries withintandfloatvalues.looseversion ofquery_param_matchervia named argumentstrict_match.async/awaitfunctions.response_callbackis no longer executed on exceptions raised by failedResponses_get_url_and_pathto 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_typeandheaders[content-type]are provided as parameters.v0.18.0Compare Source
responses.activatedecorator. See #468_is_stringand_ensure_strfunctions_quotefromtest_responses.py_matchesattribute ofRequestsMockobject.in
responses.add_callbackdue tomatch_querystring. See #464v0.17.0Compare Source
response.iter_contentwhenchunk_size=Noneentered infinite looppassthru_prefixespersisted across tests.Now
add_passthruis valid only within a context manager or for a single function andcleared on exit
match_querystringargument inResponseandCallbackResponse.Use
responses.matchers.query_param_matcherorresponses.matchers.query_string_matcherresponses.matchers.multipart_matcherresponses.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.