HomematicIP_Cloud fix test (#17376)
* fix-homematicip_cloud-flow_config * remove-homematicip_cloud-flow_config-stale-print * Fix redundant backslash between bracketspull/18087/head
parent
caa48fab13
commit
2fce79eccf
|
@ -61,7 +61,6 @@ class HomematicipAuth:
|
|||
from homematicip.base.base_connection import HmipConnectionError
|
||||
|
||||
auth = AsyncAuth(hass.loop, async_get_clientsession(hass))
|
||||
print(auth)
|
||||
try:
|
||||
await auth.init(hapid)
|
||||
if pin:
|
||||
|
|
|
@ -21,6 +21,8 @@ async def test_flow_works(hass):
|
|||
with patch.object(hap, 'get_auth', return_value=mock_coro()), \
|
||||
patch.object(hmipc.HomematicipAuth, 'async_checkbutton',
|
||||
return_value=mock_coro(True)), \
|
||||
patch.object(hmipc.HomematicipAuth, 'async_setup',
|
||||
return_value=mock_coro(True)), \
|
||||
patch.object(hmipc.HomematicipAuth, 'async_register',
|
||||
return_value=mock_coro(True)):
|
||||
hap.authtoken = 'ABC'
|
||||
|
|
Loading…
Reference in New Issue