mirror of
https://github.com/home-assistant/core.git
synced 2026-04-02 08:26:41 +01:00
Co-authored-by: Robert Resch <robert@resch.dev> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
21 lines
501 B
Python
21 lines
501 B
Python
"""Test configuration for the Brands integration."""
|
|
|
|
import pytest
|
|
|
|
from tests.typing import ClientSessionGenerator
|
|
|
|
|
|
@pytest.fixture
|
|
def hass_config_dir(hass_tmp_config_dir: str) -> str:
|
|
"""Use temporary config directory for brands tests."""
|
|
return hass_tmp_config_dir
|
|
|
|
|
|
@pytest.fixture
|
|
def aiohttp_client(
|
|
aiohttp_client: ClientSessionGenerator,
|
|
socket_enabled: None,
|
|
) -> ClientSessionGenerator:
|
|
"""Return aiohttp_client and allow opening sockets."""
|
|
return aiohttp_client
|