mirror of
https://github.com/home-assistant/core.git
synced 2025-05-05 14:39:16 +00:00
14 lines
361 B
Python
14 lines
361 B
Python
"""Common fixtures and objects for the LG Netcast integration tests."""
|
|
|
|
import pytest
|
|
|
|
from homeassistant.core import HomeAssistant, ServiceCall
|
|
|
|
from tests.common import async_mock_service
|
|
|
|
|
|
@pytest.fixture
|
|
def calls(hass: HomeAssistant) -> list[ServiceCall]:
|
|
"""Track calls to a mock service."""
|
|
return async_mock_service(hass, "test", "automation")
|