Sort imports according to PEP8 for 'tests' (#29791)

This commit is contained in:
Bas Nijholt authored and Franck Nijhof committed 2019-12-09 16:52:24 +01:00
1 parent 67c56c860d
commit f60125b5c9
68 files changed
+254 -251

No files matched your search

+9 -8
View File
@@ -9,22 +9,23 @@ import pytest
import requests_mock as _requests_mock
from homeassistant import util
from homeassistant.util import location
from homeassistant.auth.const import GROUP_ID_ADMIN, GROUP_ID_READ_ONLY
from homeassistant.auth.providers import legacy_api_password, homeassistant
from homeassistant.auth.providers import homeassistant, legacy_api_password
from homeassistant.util import location
pytest.register_assert_rewrite("tests.common")
from tests.common import ( # noqa: E402 module level import not at top of file
async_test_home_assistant,
CLIENT_ID,
INSTANCES,
MockUser,
async_test_home_assistant,
mock_coro,
mock_storage as mock_storage,
MockUser,
CLIENT_ID,
)
from tests.test_util.aiohttp import (
from tests.test_util.aiohttp import ( # noqa: E402 module level import not at top of file
mock_aiohttp_client,
) # noqa: E402 module level import not at top of file
)
pytest.register_assert_rewrite("tests.common")
if os.environ.get("UVLOOP") == "1":
import uvloop