aiohttp 2 (#6835)
* Upgrade aiohttp2 * Fix resource caching * Fix helpers.aiohttp_client * Lint * Use static path for api error_log * Fix ClientErrors import * Remove not needed DisconnectError * Remove releasing responses code * Add timeout if stream starts non responding * More async_aiohttp_proxy_stream cleanup * Fix references to ClientError * Fix fingerprinting * Fix aiohttp stream tests * Rename aiohttp_proxy_stream * Remove impossible darksky test * Fix sleepiq requests escaping mocker * Lint * Remove deprecated parameter * Break up aiohttp_proxy_stream in 2 methods * Lint * Upgrade to aiohttp 2.0.4 * Convert connector close to a callback * Fix static fingerprinted links
This commit is contained in:
1 parent
7b83a836f3
commit
714b516176
36 files changed
+250
-442
No files matched your search
@@ -42,7 +42,7 @@ class TestRestSwitchSetup:
|
||||
|
||||
def test_setup_failed_connect(self, aioclient_mock):
|
||||
"""Test setup when connection error occurs."""
|
||||
aioclient_mock.get('http://localhost', exc=aiohttp.errors.ClientError)
|
||||
aioclient_mock.get('http://localhost', exc=aiohttp.ClientError)
|
||||
assert not run_coroutine_threadsafe(
|
||||
rest.async_setup_platform(self.hass, {
|
||||
'platform': 'rest',
|
||||
|
||||
Reference in new issue
Block a user