1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Clean up superfluous integration setup - part 2 (#48478)

This commit is contained in:
Franck Nijhof
2021-03-30 01:23:07 +02:00
committed by GitHub
parent 8393a215e9
commit 6ec3234ccc
17 changed files with 5 additions and 95 deletions

View File

@@ -39,7 +39,7 @@ async def test_setup_platform(hass, dsmr_connection_fixture):
serial_data = {"serial_id": "1234", "serial_id_gas": "5678"}
with patch("homeassistant.components.dsmr.async_setup", return_value=True), patch(
with patch(
"homeassistant.components.dsmr.async_setup_entry", return_value=True
), patch(
"homeassistant.components.dsmr.config_flow._validate_dsmr_connection",