mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Sort imports according to PEP8 for hue (#29757)
This commit is contained in:
parent
abfcc18004
commit
c7cf1b820c
@ -3,8 +3,8 @@ from unittest.mock import Mock, patch
|
|||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from homeassistant.exceptions import ConfigEntryNotReady
|
|
||||||
from homeassistant.components.hue import bridge, errors
|
from homeassistant.components.hue import bridge, errors
|
||||||
|
from homeassistant.exceptions import ConfigEntryNotReady
|
||||||
|
|
||||||
from tests.common import mock_coro
|
from tests.common import mock_coro
|
||||||
|
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
"""Test Hue setup process."""
|
"""Test Hue setup process."""
|
||||||
from unittest.mock import Mock, patch
|
from unittest.mock import Mock, patch
|
||||||
|
|
||||||
from homeassistant.setup import async_setup_component
|
|
||||||
from homeassistant.components import hue
|
from homeassistant.components import hue
|
||||||
|
from homeassistant.setup import async_setup_component
|
||||||
|
|
||||||
from tests.common import mock_coro, MockConfigEntry
|
from tests.common import MockConfigEntry, mock_coro
|
||||||
|
|
||||||
|
|
||||||
async def test_setup_with_no_config(hass):
|
async def test_setup_with_no_config(hass):
|
||||||
|
@ -5,8 +5,8 @@ import logging
|
|||||||
from unittest.mock import Mock
|
from unittest.mock import Mock
|
||||||
|
|
||||||
import aiohue
|
import aiohue
|
||||||
from aiohue.lights import Lights
|
|
||||||
from aiohue.groups import Groups
|
from aiohue.groups import Groups
|
||||||
|
from aiohue.lights import Lights
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user