request object is attached to any custom exception provided as Responsebody argument. See #588
Fixed mocked responses leaking between tests when assert_all_requests_are_fired and a request was not fired.
[BETA] Default recorder format was changed to YAML. Added responses.RequestsMock._parse_response_file and
responses._recorder.Recorder.dump_to_file methods that allow users to override default parser to eg toml, json
0.22.0
Update requests dependency to the version of 2.22.0 or higher. See #584.
[BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
[BETA] Added possibility to replay responses (populate registry) from TOML files
via responses._add_from_file(file_path="out.toml") method.
request object is attached to any custom exception provided as Responsebody argument. See #588
Fixed mocked responses leaking between tests when assert_all_requests_are_fired and a request was not fired.
[BETA] Default recorder format was changed to YAML. Added responses.RequestsMock._parse_response_file and
responses._recorder.Recorder.dump_to_file methods that allow users to override default parser to eg toml, json
0.22.0
Update requests dependency to the version of 2.22.0 or higher. See #584.
[BETA] Added possibility to record responses to TOML files via @_recorder.record(file_path="out.toml") decorator.
[BETA] Added possibility to replay responses (populate registry) from TOML files
via responses._add_from_file(file_path="out.toml") method.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps responses from 0.21.0 to 0.23.1.
Release notes
Sourced from responses's releases.
Changelog
Sourced from responses's changelog.
Commits
b94a385
release: 0.23.1e4e140a
Fix formattinga8da5f3
fix #630 (#631)cc74e5a
Merge branch 'release/0.23.0'22a788d
release: 0.23.0e85804a
Change default recorder format to YAML (#624)ec6c755
Fix assert_all_requests_are_fired not reseting (#622)faf6dd9
ref: upgrade isort to work around poetry breakage (#620)48d8af9
Merge pull request #618 from getsentry/mdtro/codeql43c0b63
exclude tests from CodeQL detections to reduce false positive rateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)