mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2025-01-02 18:38:05 +01:00
Fix imports in host resolver test (#584)
This commit is contained in:
parent
cb5cea784e
commit
b877a0ef8c
@ -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,
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user