Merge pull request #65 from edenlum/first-server-python-testing-fix
adding async to aenter in AsyncClient
This commit is contained in:
commit
62c48f877d
1 changed files with 1 additions and 1 deletions
|
|
@ -751,7 +751,7 @@ uvicorn.run(app, host="0.0.0.0", port=8000)
|
||||||
return mock_forecast_response
|
return mock_forecast_response
|
||||||
|
|
||||||
class AsyncClient():
|
class AsyncClient():
|
||||||
def __aenter__(self):
|
async def __aenter__(self):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
async def __aexit__(self, *exc_info):
|
async def __aexit__(self, *exc_info):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue