mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Fix test RuntimeWarnings for homeassistant_hardware (#141884)
This commit is contained in:
parent
e88b321741
commit
0be881bca6
@ -558,6 +558,7 @@ async def test_config_flow_zigbee_not_hassio(hass: HomeAssistant) -> None:
|
|||||||
assert zha_flow["step_id"] == "confirm"
|
assert zha_flow["step_id"] == "confirm"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.usefixtures("addon_store_info")
|
||||||
async def test_options_flow_zigbee_to_thread(hass: HomeAssistant) -> None:
|
async def test_options_flow_zigbee_to_thread(hass: HomeAssistant) -> None:
|
||||||
"""Test the options flow, migrating Zigbee to Thread."""
|
"""Test the options flow, migrating Zigbee to Thread."""
|
||||||
config_entry = MockConfigEntry(
|
config_entry = MockConfigEntry(
|
||||||
@ -649,6 +650,7 @@ async def test_options_flow_zigbee_to_thread(hass: HomeAssistant) -> None:
|
|||||||
assert config_entry.data["firmware"] == "spinel"
|
assert config_entry.data["firmware"] == "spinel"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.usefixtures("addon_store_info")
|
||||||
async def test_options_flow_thread_to_zigbee(hass: HomeAssistant) -> None:
|
async def test_options_flow_thread_to_zigbee(hass: HomeAssistant) -> None:
|
||||||
"""Test the options flow, migrating Thread to Zigbee."""
|
"""Test the options flow, migrating Thread to Zigbee."""
|
||||||
config_entry = MockConfigEntry(
|
config_entry = MockConfigEntry(
|
||||||
|
@ -660,6 +660,7 @@ async def test_options_flow_zigbee_to_thread_zha_configured(
|
|||||||
"ignore_translations_for_mock_domains",
|
"ignore_translations_for_mock_domains",
|
||||||
["test_firmware_domain"],
|
["test_firmware_domain"],
|
||||||
)
|
)
|
||||||
|
@pytest.mark.usefixtures("addon_store_info")
|
||||||
async def test_options_flow_thread_to_zigbee_otbr_configured(
|
async def test_options_flow_thread_to_zigbee_otbr_configured(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user