8000 chore: enable newer versions of aiohttp-retry by tiwarishubham635 · Pull Request #837 · twilio/twilio-python · GitHub
[go: up one dir, main page]

Skip to content

chore: enable newer versions of aiohttp-retry #837

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

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: add default get method in MockResponse
  • Loading branch information
tiwarishubham635 committed Jan 24, 2025
commit 6274a80f1f812aff74086e443d41155c1428df99
3 changes: 2 additions & 1 deletion tests/unit/http/test_async_http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ class MockResponse(object):
A mock of the aiohttp.ClientResponse class
"""

def __init__(self, text, status):
def __init__(self, text, status, method="GET"):
self._text = text
self.status = status
self.headers = {}
self.method = method

async def text(self):
return self._text
Expand Down
Loading
0