Google assistant sync (#13392)
* Add Google Assistant Sync API * Update const.py * Async/await
This commit is contained in:
1 parent
2532d67b9a
commit
4bd6776443
5 files changed
+71
-26
No files matched your search
@@ -29,6 +29,7 @@ def test_constructor_loads_info_from_constant():
|
||||
'user_pool_id': 'test-user_pool_id',
|
||||
'region': 'test-region',
|
||||
'relayer': 'test-relayer',
|
||||
'google_actions_sync_url': 'test-google_actions_sync_url',
|
||||
}
|
||||
}), patch('homeassistant.components.cloud.Cloud._fetch_jwt_keyset',
|
||||
return_value=mock_coro(True)):
|
||||
@@ -43,6 +44,7 @@ def test_constructor_loads_info_from_constant():
|
||||
assert cl.user_pool_id == 'test-user_pool_id'
|
||||
assert cl.region == 'test-region'
|
||||
assert cl.relayer == 'test-relayer'
|
||||
assert cl.google_actions_sync_url == 'test-google_actions_sync_url'
|
||||
|
||||
|
||||
@asyncio.coroutine
|
||||
|
||||
Reference in new issue
Block a user