Files
project-work/home-assistant/tests/components/http/conftest.py
2026-11-19 15:15:32 -05:00

18 lines
395 B
Python

"""Test configuration for http."""
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