mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Clean up superfluous integration setup - part 3 (#48484)
This commit is contained in:
@@ -24,8 +24,6 @@ async def test_form(hass):
|
||||
"homeassistant.components.coolmaster.config_flow.CoolMasterNet.status",
|
||||
return_value={"test_id": "test_unit"},
|
||||
), patch(
|
||||
"homeassistant.components.coolmaster.async_setup", return_value=True
|
||||
) as mock_setup, patch(
|
||||
"homeassistant.components.coolmaster.async_setup_entry",
|
||||
return_value=True,
|
||||
) as mock_setup_entry:
|
||||
@@ -41,7 +39,6 @@ async def test_form(hass):
|
||||
"port": 10102,
|
||||
"supported_modes": AVAILABLE_MODES,
|
||||
}
|
||||
assert len(mock_setup.mock_calls) == 1
|
||||
assert len(mock_setup_entry.mock_calls) == 1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user