1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 04:50:05 +00:00

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