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 authored and GitHub committed 2017-05-26 13:12:17 -07:00
1 parent 910020bc5f
commit e68bd0457c
20 files changed
+22 -26

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ class FitbitAuthCallbackView(HomeAssistantView):
from oauthlib.oauth2.rfc6749.errors import MissingTokenError
hass = request.app['hass']
data = request.GET
data = request.query
response_message = """Fitbit has been successfully authorized!
You can close this window now!"""
+1 -1
View File
@@ -75,7 +75,7 @@ class TorqueReceiveDataView(HomeAssistantView):
def get(self, request):
"""Handle Torque data request."""
hass = request.app['hass']
data = request.GET
data = request.query
if self.email is not None and self.email != data[SENSOR_EMAIL_FIELD]:
return