-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[ISSUE #34910] add headers to HttpResponse for test framework #35105
[ISSUE #34910] add headers to HttpResponse for test framework #35105
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@@ -60,7 +60,9 @@ def _mock_request_method( | |||
getattr(self._mocker, method)( | |||
requests_mock.ANY, | |||
additional_matcher=self._matches_wrapper(matcher), | |||
response_list=[{"text": response.body, "status_code": response.status_code} for response in responses], | |||
response_list=[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious: what formatter are you using, and do we have centralized enforced formatting / linting yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I blindly use airbyte-ci format fix all
What
Addresses #34910
How
Add headers that are empty dict by default and allow to user to optionally provide them
🚨 User Impact 🚨
Will unblock #34933 (comment) and allow future users to add headers to responses