Add basic test support to Homematic IP Cloud (#27228)

* Add basic test support to Homematic IP Cloud

* move test data address comments
This commit is contained in:
SukramJ authored and Martin Hjelmare committed 2019-10-06 11:54:26 +02:00
1 parent 2c6a869bc6
commit 476f24e451
9 files changed
+5672 -10

No files matched your search

@@ -2,10 +2,10 @@
from unittest.mock import patch
from homeassistant.setup import async_setup_component
from homeassistant.components import homematicip_cloud as hmipc
from homeassistant.setup import async_setup_component
from tests.common import mock_coro, MockConfigEntry
from tests.common import MockConfigEntry, mock_coro
async def test_config_with_accesspoint_passed_to_config_entry(hass):
@@ -53,7 +53,7 @@ async def test_config_already_registered_not_passed_to_config_entry(hass):
)
# No flow started
assert len(mock_config_entries.flow.mock_calls) == 0
assert not mock_config_entries.flow.mock_calls
async def test_setup_entry_successful(hass):