Sort imports according to PEP8 for owntracks (#29672)
This commit is contained in:
1 parent
d62993c5af
commit
05daa817f5
7 files changed
+21
-19
No files matched your search
@@ -1,16 +1,16 @@
|
||||
"""Tests for OwnTracks config flow."""
|
||||
from unittest.mock import Mock, patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant import data_entry_flow
|
||||
from homeassistant.const import CONF_WEBHOOK_ID
|
||||
from homeassistant.components.owntracks import config_flow
|
||||
from homeassistant.components.owntracks.config_flow import CONF_CLOUDHOOK, CONF_SECRET
|
||||
from homeassistant.components.owntracks.const import DOMAIN
|
||||
from homeassistant.const import CONF_WEBHOOK_ID
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import mock_coro, MockConfigEntry
|
||||
|
||||
from tests.common import MockConfigEntry, mock_coro
|
||||
|
||||
CONF_WEBHOOK_URL = "webhook_url"
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
"""Test the owntracks_http platform."""
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.owntracks import helper
|
||||
|
||||
@@ -3,9 +3,10 @@ import asyncio
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.components import owntracks
|
||||
from tests.common import mock_component, MockConfigEntry
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import MockConfigEntry, mock_component
|
||||
|
||||
MINIMAL_LOCATION_MESSAGE = {
|
||||
"_type": "location",
|
||||
|
||||
Reference in new issue
Block a user