Refactor config integration to use normal functions for setup (#110750)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
J. Nick Koston 2024-02-16 18:12:33 -06:00 committed by GitHub
parent d7f650ed7c
commit 50770ce436
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 40 additions and 40 deletions

View file

@ -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(