Fix more deprecation warnings (#7778)

* Remove setting up an hbmqtt broker

* Don't pass loop to web.Application in tests

* Use .query instead of deprecated .GET for aiohttp requests

* Fix closing file resource

* Do not use asyncio mark

* Notify.html5 - PyJWT: Use options to disable verify

* Yamaha: Test was still using deprecated ip

* Remove pytest-asyncio
This commit is contained in:
Paulus Schoutsen 2017-05-26 13:12:17 -07:00 committed by GitHub
parent 910020bc5f
commit e68bd0457c
20 changed files with 22 additions and 26 deletions

View file

@ -41,7 +41,7 @@ class LocativeView(HomeAssistantView):
@asyncio.coroutine
def get(self, request):
"""Locative message received as GET."""
res = yield from self._handle(request.app['hass'], request.GET)
res = yield from self._handle(request.app['hass'], request.query)
return res
@asyncio.coroutine