Add cloud auth support (#9208)
* Add initial cloud auth * Move hass.data to a dict * Move mode into helper * Fix bugs afte refactor * Add tests * Clean up scripts file after test config * Lint * Update __init__.py
This commit is contained in:
1 parent
33c906c20a
commit
0b58d5405e
11 files changed
+1007
-1
No files matched your search
@@ -201,6 +201,7 @@ def mock_aiohttp_client():
|
||||
|
||||
with mock.patch('aiohttp.ClientSession') as mock_session:
|
||||
instance = mock_session()
|
||||
instance.request = mocker.match_request
|
||||
|
||||
for method in ('get', 'post', 'put', 'options', 'delete'):
|
||||
setattr(instance, method,
|
||||
|
||||
Reference in new issue
Block a user