mirror of
https://github.com/home-assistant/core.git
synced 2026-08-16 02:02:56 +01:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
23 lines
568 B
Python
23 lines
568 B
Python
"""Fixtures for the solax integration tests."""
|
|
|
|
import pytest
|
|
|
|
from homeassistant.components.solax.const import DOMAIN
|
|
from homeassistant.const import CONF_IP_ADDRESS, CONF_PASSWORD, CONF_PORT
|
|
|
|
from tests.common import MockConfigEntry
|
|
|
|
|
|
@pytest.fixture
|
|
def mock_config_entry() -> MockConfigEntry:
|
|
"""Return a mock solax config entry."""
|
|
return MockConfigEntry(
|
|
domain=DOMAIN,
|
|
data={
|
|
CONF_IP_ADDRESS: "192.168.1.87",
|
|
CONF_PORT: 80,
|
|
CONF_PASSWORD: "password",
|
|
},
|
|
unique_id="ABCDEFGHIJ",
|
|
)
|