1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 08:26:41 +01:00

Add missing mock fixtures to telegram_bot polling init test (#164398)

This commit is contained in:
Franck Nijhof
2026-02-27 21:29:10 +01:00
committed by GitHub
parent b1bc1dc102
commit 83c77957c1

View File

@@ -119,8 +119,10 @@ async def test_webhook_platform_init(hass: HomeAssistant, webhook_bot) -> None:
assert hass.services.has_service(DOMAIN, SERVICE_SEND_MESSAGE) is True
@pytest.mark.usefixtures("mock_external_calls", "mock_polling_calls")
async def test_polling_platform_init(
hass: HomeAssistant, mock_polling_config_entry: MockConfigEntry
hass: HomeAssistant,
mock_polling_config_entry: MockConfigEntry,
) -> None:
"""Test initialization of the polling platform."""
mock_polling_config_entry.add_to_hass(hass)