Use built-in test helpers on 3.8 (#34901)
This commit is contained in:
1 parent
6b16c34fd0
commit
ec47216388
303 files changed
+1163
-1320
No files matched your search
@@ -1,5 +1,4 @@
|
||||
"""Test Zeroconf component setup process."""
|
||||
from asynctest import patch
|
||||
import pytest
|
||||
from zeroconf import ServiceInfo, ServiceStateChange
|
||||
|
||||
@@ -7,6 +6,8 @@ from homeassistant.components import zeroconf
|
||||
from homeassistant.generated import zeroconf as zc_gen
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.async_mock import patch
|
||||
|
||||
NON_UTF8_VALUE = b"ABCDEF\x8a"
|
||||
NON_ASCII_KEY = b"non-ascii-key\x8a"
|
||||
PROPERTIES = {
|
||||
|
||||
Reference in new issue
Block a user