Skip to content

Commit

Permalink
Merge branch 'main' into issue-829
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 authored Jan 28, 2025
2 parents 9b04cdb + 513743f commit 6397f98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ pygments>=2.7.4 # not directly required, pinned by Snyk to avoid a vulnerability
requests>=2.31.0
PyJWT>=2.0.0, <3.0.0
aiohttp>=3.9.4
aiohttp-retry==2.8.3
aiohttp-retry>=2.8.3
certifi>=2023.7.22 # not directly required, pinned by Snyk to avoid a vulnerability
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"requests >= 2.0.0",
"PyJWT >= 2.0.0, < 3.0.0",
"aiohttp>=3.8.4",
"aiohttp-retry==2.8.3",
"aiohttp-retry>=2.8.3",
],
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
Expand Down
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

0 comments on commit 6397f98

Please sign in to comment.