Files
homeassistant-core/tests/components/auth/conftest.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
395 B
Python
Raw Normal View History

2021-10-06 02:46:09 +02:00
"""Test configuration for auth."""
from asyncio import AbstractEventLoop
2021-10-06 02:46:09 +02:00
import pytest
from tests.typing import ClientSessionGenerator
2021-10-06 02:46:09 +02:00
@pytest.fixture
def aiohttp_client(
event_loop: AbstractEventLoop,
aiohttp_client: ClientSessionGenerator,
socket_enabled: None,
) -> ClientSessionGenerator:
2021-10-06 02:46:09 +02:00
"""Return aiohttp_client and allow opening sockets."""
return aiohttp_client