mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Move mock_hass_config fixture to decorator (#118807)
This commit is contained in:
@@ -27,8 +27,9 @@ from tests.common import async_mock_service
|
||||
}
|
||||
],
|
||||
)
|
||||
@pytest.mark.usefixtures("mock_hass_config")
|
||||
async def test_if_fires_on_hass_start(
|
||||
hass: HomeAssistant, mock_hass_config: None, hass_config: ConfigType
|
||||
hass: HomeAssistant, hass_config: ConfigType
|
||||
) -> None:
|
||||
"""Test the firing when Home Assistant starts."""
|
||||
calls = async_mock_service(hass, "test", "automation")
|
||||
|
||||
Reference in New Issue
Block a user