Improve aiohttp default clientsession close with connector (#5208)
This commit is contained in:
1 parent
81922b88a2
commit
ca4a857532
2 files changed
+5
-3
No files matched your search
@@ -284,8 +284,7 @@ class TestMediaPlayerWeb(unittest.TestCase):
|
||||
def get(self, url):
|
||||
return MockResponse()
|
||||
|
||||
@asyncio.coroutine
|
||||
def close(self):
|
||||
def detach(self):
|
||||
pass
|
||||
|
||||
self.hass.data[DATA_CLIENTSESSION] = MockWebsession()
|
||||
|
||||
Reference in new issue
Block a user