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:
parent
910020bc5f
commit
e68bd0457c
20 changed files with 22 additions and 26 deletions
|
@ -1,5 +1,6 @@
|
|||
"""Test config utils."""
|
||||
# pylint: disable=protected-access
|
||||
import asyncio
|
||||
import os
|
||||
import unittest
|
||||
import unittest.mock as mock
|
||||
|
@ -546,7 +547,7 @@ def test_merge_duplicate_keys(merge_log_err):
|
|||
assert len(config['input_select']) == 1
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
@asyncio.coroutine
|
||||
def test_merge_customize(hass):
|
||||
"""Test loading core config onto hass object."""
|
||||
core_config = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue