diff --git a/tests/test_client.py b/tests/test_client.py index ca54125..74c8c4b 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,7 +1,5 @@ -from sys import version - import pytest -from mock import AsyncMock, MagicMock, call, patch +from mock import AsyncMock, MagicMock, patch from aioesphomeapi.api_pb2 import ( AlarmControlPanelCommandRequest, diff --git a/tests/test_host_resolver.py b/tests/test_host_resolver.py index 6afcde5..5b2b3b9 100644 --- a/tests/test_host_resolver.py +++ b/tests/test_host_resolver.py @@ -1,10 +1,11 @@ import socket from ipaddress import ip_address -import asyncio + import pytest from mock import AsyncMock, MagicMock, patch from zeroconf import DNSCache -from zeroconf.asyncio import AsyncZeroconf, AsyncServiceInfo +from zeroconf.asyncio import AsyncServiceInfo, AsyncZeroconf + import aioesphomeapi.host_resolver as hr from aioesphomeapi.core import APIConnectionError