Fix auth for hass.io (#17318)
* Update test_auth.py * Update auth.py * Update test_auth.py
This commit is contained in:
parent
8d9da4e7b9
commit
3f87d41381
2 changed files with 3 additions and 4 deletions
|
@ -50,7 +50,7 @@ async def test_login_error(hass, hassio_client):
|
|||
)
|
||||
|
||||
# Check we got right response
|
||||
assert resp.status == 401
|
||||
assert resp.status == 403
|
||||
mock_login.assert_called_with("test", "123456")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue