Sort imports according to PEP8 for components starting with "D" (#29764)
* use isort to sort imports for components starting with 'd' * fix isort mistake
This commit is contained in:
1 parent
c804f8f961
commit
08f128e9c7
21 files changed
+87
-85
No files matched your search
@@ -1,6 +1,6 @@
|
||||
"""The tests for the discovery component."""
|
||||
import asyncio
|
||||
from unittest.mock import patch, MagicMock
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -9,7 +9,7 @@ from homeassistant.bootstrap import async_setup_component
|
||||
from homeassistant.components import discovery
|
||||
from homeassistant.util.dt import utcnow
|
||||
|
||||
from tests.common import mock_coro, async_fire_time_changed
|
||||
from tests.common import async_fire_time_changed, mock_coro
|
||||
|
||||
# One might consider to "mock" services, but it's easy enough to just use
|
||||
# what is already available.
|
||||
|
||||
Reference in new issue
Block a user