Refactor config integration to use normal functions for setup (#110750)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
d7f650ed7c
commit
50770ce436
17 changed files with 40 additions and 40 deletions
|
@ -10,9 +10,9 @@ from tests.typing import WebSocketGenerator
|
|||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def setup_config(hass, aiohttp_client):
|
||||
async def setup_config(hass, aiohttp_client):
|
||||
"""Fixture that sets up the auth provider homeassistant module."""
|
||||
hass.loop.run_until_complete(auth_config.async_setup(hass))
|
||||
auth_config.async_setup(hass)
|
||||
|
||||
|
||||
async def test_list_requires_admin(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue