mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Sort imports according to PEP8 for components starting with "Q" (#29785)
This commit is contained in:
parent
fbf1836997
commit
4035fda659
@ -1,6 +1,6 @@
|
||||
"""The tests for the Queensland Bushfire Alert Feed platform."""
|
||||
import datetime
|
||||
from unittest.mock import patch, MagicMock, call
|
||||
from unittest.mock import MagicMock, call, patch
|
||||
|
||||
from homeassistant.components import geo_location
|
||||
from homeassistant.components.geo_location import ATTR_SOURCE
|
||||
@ -25,9 +25,10 @@ from homeassistant.const import (
|
||||
EVENT_HOMEASSISTANT_START,
|
||||
)
|
||||
from homeassistant.setup import async_setup_component
|
||||
from tests.common import assert_setup_component, async_fire_time_changed
|
||||
import homeassistant.util.dt as dt_util
|
||||
|
||||
from tests.common import assert_setup_component, async_fire_time_changed
|
||||
|
||||
CONFIG = {geo_location.DOMAIN: [{"platform": "qld_bushfire", CONF_RADIUS: 200}]}
|
||||
|
||||
CONFIG_WITH_CUSTOM_LOCATION = {
|
||||
|
@ -1,14 +1,14 @@
|
||||
"""Test qwikswitch sensors."""
|
||||
import logging
|
||||
|
||||
from aiohttp.client_exceptions import ClientError
|
||||
import pytest
|
||||
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_START
|
||||
from homeassistant.components.qwikswitch import DOMAIN as QWIKSWITCH
|
||||
from homeassistant.bootstrap import async_setup_component
|
||||
from tests.test_util.aiohttp import mock_aiohttp_client
|
||||
from aiohttp.client_exceptions import ClientError
|
||||
from homeassistant.components.qwikswitch import DOMAIN as QWIKSWITCH
|
||||
from homeassistant.const import EVENT_HOMEASSISTANT_START
|
||||
|
||||
from tests.test_util.aiohttp import mock_aiohttp_client
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user