Sort imports according to PEP8 for mobile_app (#29758)
This commit is contained in:
parent
53012a548b
commit
abfcc18004
3 changed files with 7 additions and 8 deletions
|
@ -2,14 +2,13 @@
|
|||
# pylint: disable=redefined-outer-name,unused-import
|
||||
import pytest
|
||||
|
||||
from tests.common import mock_device_registry
|
||||
|
||||
from homeassistant.components.mobile_app.const import DOMAIN
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from homeassistant.components.mobile_app.const import DOMAIN
|
||||
|
||||
from .const import REGISTER, REGISTER_CLEARTEXT
|
||||
|
||||
from tests.common import mock_device_registry
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def registry(hass):
|
||||
|
|
|
@ -2,9 +2,8 @@
|
|||
# pylint: disable=redefined-outer-name
|
||||
import pytest
|
||||
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from homeassistant.components.mobile_app.const import DOMAIN
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
"""Webhook tests for mobile_app."""
|
||||
|
||||
import logging
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.mobile_app.const import CONF_SECRET
|
||||
|
@ -9,10 +10,10 @@ from homeassistant.const import CONF_WEBHOOK_ID
|
|||
from homeassistant.core import callback
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import async_mock_service
|
||||
|
||||
from .const import CALL_SERVICE, FIRE_EVENT, REGISTER_CLEARTEXT, RENDER_TEMPLATE, UPDATE
|
||||
|
||||
from tests.common import async_mock_service
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue