sort imports according to PEP8 for auth (#29619)
This commit is contained in:
1 parent
fa00808f6c
commit
6ad3b6426a
7 files changed
+17
-19
No files matched your search
@@ -4,7 +4,6 @@ from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import ensure_auth_manager_loaded
|
||||
|
||||
|
||||
BASE_CONFIG = [
|
||||
{
|
||||
"name": "Example",
|
||||
|
||||
@@ -3,15 +3,15 @@ from datetime import timedelta
|
||||
from unittest.mock import patch
|
||||
|
||||
from homeassistant.auth.models import Credentials
|
||||
from homeassistant.components import auth
|
||||
from homeassistant.components.auth import RESULT_TYPE_USER
|
||||
from homeassistant.setup import async_setup_component
|
||||
from homeassistant.util.dt import utcnow
|
||||
from homeassistant.components import auth
|
||||
|
||||
from tests.common import CLIENT_ID, CLIENT_REDIRECT_URI, MockUser
|
||||
|
||||
from . import async_setup_auth
|
||||
|
||||
from tests.common import CLIENT_ID, CLIENT_REDIRECT_URI, MockUser
|
||||
|
||||
|
||||
async def test_login_new_user_and_trying_refresh_token(hass, aiohttp_client):
|
||||
"""Test logging in with new user and refreshing tokens."""
|
||||
|
||||
@@ -4,7 +4,7 @@ from homeassistant.auth import auth_manager_from_config
|
||||
from homeassistant.components.auth import mfa_setup_flow
|
||||
from homeassistant.setup import async_setup_component
|
||||
|
||||
from tests.common import MockUser, CLIENT_ID, ensure_auth_manager_loaded
|
||||
from tests.common import CLIENT_ID, MockUser, ensure_auth_manager_loaded
|
||||
|
||||
|
||||
async def test_ws_setup_depose_mfa(hass, hass_ws_client):
|
||||
|
||||
Reference in new issue
Block a user