init home-assistant
This commit is contained in:
17
home-assistant/tests/components/auth/conftest.py
Normal file
17
home-assistant/tests/components/auth/conftest.py
Normal file
@@ -0,0 +1,17 @@
|
||||
"""Test configuration for auth."""
|
||||
|
||||
from asyncio import AbstractEventLoop
|
||||
|
||||
import pytest
|
||||
|
||||
from tests.typing import ClientSessionGenerator
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def aiohttp_client(
|
||||
event_loop: AbstractEventLoop,
|
||||
aiohttp_client: ClientSessionGenerator,
|
||||
socket_enabled: None,
|
||||
) -> ClientSessionGenerator:
|
||||
"""Return aiohttp_client and allow opening sockets."""
|
||||
return aiohttp_client
|
||||
Reference in New Issue
Block a user