Sort imports according to PEP8 for mobile_app (#29758)

This commit is contained in:
Bas Nijholt 2019-12-09 13:22:42 +01:00 committed by Franck Nijhof
parent 53012a548b
commit abfcc18004
3 changed files with 7 additions and 8 deletions

View file

@ -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):

View file

@ -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

View file

@ -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__)