Bump to aiohttp 3.8.0 (#58974)
This commit is contained in:
parent
23cb396aad
commit
10d6247fee
106 changed files with 221 additions and 142 deletions
|
@ -119,7 +119,7 @@ async def test_login_view(hass, cloud_client):
|
|||
|
||||
async def test_login_view_random_exception(cloud_client):
|
||||
"""Try logging in with invalid JSON."""
|
||||
with patch("async_timeout.timeout", side_effect=ValueError("Boom")):
|
||||
with patch("hass_nabucasa.Cloud.login", side_effect=ValueError("Boom")):
|
||||
req = await cloud_client.post(
|
||||
"/api/cloud/login", json={"email": "my_username", "password": "my_password"}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue