mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Sort imports according to PEP8 for mobile_app (#29758)
This commit is contained in:
parent
53012a548b
commit
abfcc18004
@ -2,14 +2,13 @@
|
|||||||
# pylint: disable=redefined-outer-name,unused-import
|
# pylint: disable=redefined-outer-name,unused-import
|
||||||
import pytest
|
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.setup import async_setup_component
|
||||||
|
|
||||||
from homeassistant.components.mobile_app.const import DOMAIN
|
|
||||||
|
|
||||||
from .const import REGISTER, REGISTER_CLEARTEXT
|
from .const import REGISTER, REGISTER_CLEARTEXT
|
||||||
|
|
||||||
|
from tests.common import mock_device_registry
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def registry(hass):
|
def registry(hass):
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
# pylint: disable=redefined-outer-name
|
# pylint: disable=redefined-outer-name
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from homeassistant.setup import async_setup_component
|
|
||||||
|
|
||||||
from homeassistant.components.mobile_app.const import DOMAIN
|
from homeassistant.components.mobile_app.const import DOMAIN
|
||||||
|
from homeassistant.setup import async_setup_component
|
||||||
|
|
||||||
from tests.common import MockConfigEntry
|
from tests.common import MockConfigEntry
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
"""Webhook tests for mobile_app."""
|
"""Webhook tests for mobile_app."""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from homeassistant.components.mobile_app.const import CONF_SECRET
|
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.core import callback
|
||||||
from homeassistant.setup import async_setup_component
|
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 .const import CALL_SERVICE, FIRE_EVENT, REGISTER_CLEARTEXT, RENDER_TEMPLATE, UPDATE
|
||||||
|
|
||||||
|
from tests.common import async_mock_service
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user