Improve aiohttp default clientsession close with connector (#5208)
This commit is contained in:
parent
81922b88a2
commit
ca4a857532
2 changed files with 5 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue