mirror of https://github.com/home-assistant/core
19 lines
436 B
Python
19 lines
436 B
Python
"""Define test fixtures for Blue Current."""
|
|
|
|
import pytest
|
|
|
|
from homeassistant.components.blue_current.const import DOMAIN
|
|
|
|
from tests.common import MockConfigEntry
|
|
|
|
|
|
@pytest.fixture(name="config_entry")
|
|
def config_entry_fixture() -> MockConfigEntry:
|
|
"""Define a config entry fixture."""
|
|
return MockConfigEntry(
|
|
domain=DOMAIN,
|
|
entry_id="uuid",
|
|
unique_id="1234",
|
|
data={"api_token": "123"},
|
|
)
|