mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Remove explicit use of mock_zeroconf in devolo Home Network (#74390)
This commit is contained in:
parent
6c3baf03aa
commit
402a40c108
@ -12,7 +12,6 @@ from . import configure_integration
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("mock_device")
|
@pytest.mark.usefixtures("mock_device")
|
||||||
@pytest.mark.usefixtures("mock_zeroconf")
|
|
||||||
async def test_setup_entry(hass: HomeAssistant):
|
async def test_setup_entry(hass: HomeAssistant):
|
||||||
"""Test setup entry."""
|
"""Test setup entry."""
|
||||||
entry = configure_integration(hass)
|
entry = configure_integration(hass)
|
||||||
@ -24,7 +23,6 @@ async def test_setup_entry(hass: HomeAssistant):
|
|||||||
assert entry.state is ConfigEntryState.LOADED
|
assert entry.state is ConfigEntryState.LOADED
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("mock_zeroconf")
|
|
||||||
async def test_setup_device_not_found(hass: HomeAssistant):
|
async def test_setup_device_not_found(hass: HomeAssistant):
|
||||||
"""Test setup entry."""
|
"""Test setup entry."""
|
||||||
entry = configure_integration(hass)
|
entry = configure_integration(hass)
|
||||||
@ -37,7 +35,6 @@ async def test_setup_device_not_found(hass: HomeAssistant):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("mock_device")
|
@pytest.mark.usefixtures("mock_device")
|
||||||
@pytest.mark.usefixtures("mock_zeroconf")
|
|
||||||
async def test_unload_entry(hass: HomeAssistant):
|
async def test_unload_entry(hass: HomeAssistant):
|
||||||
"""Test unload entry."""
|
"""Test unload entry."""
|
||||||
entry = configure_integration(hass)
|
entry = configure_integration(hass)
|
||||||
@ -48,7 +45,6 @@ async def test_unload_entry(hass: HomeAssistant):
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.usefixtures("mock_device")
|
@pytest.mark.usefixtures("mock_device")
|
||||||
@pytest.mark.usefixtures("mock_zeroconf")
|
|
||||||
async def test_hass_stop(hass: HomeAssistant):
|
async def test_hass_stop(hass: HomeAssistant):
|
||||||
"""Test homeassistant stop event."""
|
"""Test homeassistant stop event."""
|
||||||
entry = configure_integration(hass)
|
entry = configure_integration(hass)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user