1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix some more usages of asynctest (#39570)

This commit is contained in:
Paulus Schoutsen
2020-09-02 14:53:07 +02:00
committed by GitHub
parent 24f63127de
commit 6de02fc1b9
6 changed files with 8 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
"""Tests for deCONZ config flow."""
import asyncio
from asynctest.mock import patch
import pydeconz
from homeassistant import data_entry_flow
@@ -22,6 +21,8 @@ from homeassistant.const import CONF_API_KEY, CONF_HOST, CONF_PORT
from .test_gateway import API_KEY, BRIDGEID, setup_deconz_integration
from tests.async_mock import patch
async def test_flow_discovered_bridges(hass, aioclient_mock):
"""Test that config flow works for discovered bridges."""