Fix auth for hass.io (#17318)

* Update test_auth.py

* Update auth.py

* Update test_auth.py
This commit is contained in:
Pascal Vizeli 2018-10-11 01:02:00 +02:00 committed by GitHub
parent 8d9da4e7b9
commit 3f87d41381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -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")