Fix imports in host resolver test (#584)

This commit is contained in:
J. Nick Koston 2023-10-15 13:22:12 -10:00 committed by GitHub
parent cb5cea784e
commit b877a0ef8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,5 @@
from sys import version
import pytest import pytest
from mock import AsyncMock, MagicMock, call, patch from mock import AsyncMock, MagicMock, patch
from aioesphomeapi.api_pb2 import ( from aioesphomeapi.api_pb2 import (
AlarmControlPanelCommandRequest, AlarmControlPanelCommandRequest,

View File

@ -1,10 +1,11 @@
import socket import socket
from ipaddress import ip_address from ipaddress import ip_address
import asyncio
import pytest import pytest
from mock import AsyncMock, MagicMock, patch from mock import AsyncMock, MagicMock, patch
from zeroconf import DNSCache from zeroconf import DNSCache
from zeroconf.asyncio import AsyncZeroconf, AsyncServiceInfo from zeroconf.asyncio import AsyncServiceInfo, AsyncZeroconf
import aioesphomeapi.host_resolver as hr import aioesphomeapi.host_resolver as hr
from aioesphomeapi.core import APIConnectionError from aioesphomeapi.core import APIConnectionError