Remove explicit use of mock_zeroconf in devolo Home Network (#74390)

This commit is contained in:
Guido Schmitz 2022-07-04 14:59:24 +02:00 committed by GitHub
parent 6c3baf03aa
commit 402a40c108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,6 @@ from . import configure_integration
@pytest.mark.usefixtures("mock_device")
@pytest.mark.usefixtures("mock_zeroconf")
async def test_setup_entry(hass: HomeAssistant):
"""Test setup entry."""
entry = configure_integration(hass)
@ -24,7 +23,6 @@ async def test_setup_entry(hass: HomeAssistant):
assert entry.state is ConfigEntryState.LOADED
@pytest.mark.usefixtures("mock_zeroconf")
async def test_setup_device_not_found(hass: HomeAssistant):
"""Test setup entry."""
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_zeroconf")
async def test_unload_entry(hass: HomeAssistant):
"""Test unload entry."""
entry = configure_integration(hass)
@ -48,7 +45,6 @@ async def test_unload_entry(hass: HomeAssistant):
@pytest.mark.usefixtures("mock_device")
@pytest.mark.usefixtures("mock_zeroconf")
async def test_hass_stop(hass: HomeAssistant):
"""Test homeassistant stop event."""
entry = configure_integration(hass)