Legacy api fix (#18733)
* Set user for API password requests * Fix tests * Fix typing
This commit is contained in:
1 parent
601389302a
commit
ff33d34b81
15 files changed
+148
-74
No files matched your search
@@ -27,7 +27,7 @@ def hassio_env():
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def hassio_client(hassio_env, hass, aiohttp_client):
|
||||
def hassio_client(hassio_env, hass, aiohttp_client, legacy_auth):
|
||||
"""Create mock hassio http client."""
|
||||
with patch('homeassistant.components.hassio.HassIO.update_hass_api',
|
||||
Mock(return_value=mock_coro({"result": "ok"}))), \
|
||||
|
||||
Reference in new issue
Block a user