mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Do not register mqtt mock config flow with handlers (#117521)
This commit is contained in:
parent
0a625baeed
commit
5e194b8a82
@ -13,7 +13,7 @@ import pytest
|
|||||||
|
|
||||||
from homeassistant import bootstrap, loader, runner
|
from homeassistant import bootstrap, loader, runner
|
||||||
import homeassistant.config as config_util
|
import homeassistant.config as config_util
|
||||||
from homeassistant.config_entries import HANDLERS, ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
from homeassistant.const import CONF_DEBUG, SIGNAL_BOOTSTRAP_INTEGRATIONS
|
from homeassistant.const import CONF_DEBUG, SIGNAL_BOOTSTRAP_INTEGRATIONS
|
||||||
from homeassistant.core import CoreState, HomeAssistant, async_get_hass, callback
|
from homeassistant.core import CoreState, HomeAssistant, async_get_hass, callback
|
||||||
from homeassistant.exceptions import HomeAssistantError
|
from homeassistant.exceptions import HomeAssistantError
|
||||||
@ -1161,7 +1161,6 @@ async def test_bootstrap_empty_integrations(
|
|||||||
def mock_mqtt_config_flow_fixture() -> Generator[None, None, None]:
|
def mock_mqtt_config_flow_fixture() -> Generator[None, None, None]:
|
||||||
"""Mock MQTT config flow."""
|
"""Mock MQTT config flow."""
|
||||||
|
|
||||||
@HANDLERS.register("mqtt")
|
|
||||||
class MockConfigFlow:
|
class MockConfigFlow:
|
||||||
"""Mock the MQTT config flow."""
|
"""Mock the MQTT config flow."""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user