From 60e1789557001cf4c713eacfebf359a20c617d6b Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Mon, 9 Dec 2019 13:20:51 +0100 Subject: [PATCH] Sort imports according to PEP8 for emulated_roku (#29756) --- tests/components/emulated_roku/test_binding.py | 10 +++++----- tests/components/emulated_roku/test_config_flow.py | 1 + tests/components/emulated_roku/test_init.py | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/components/emulated_roku/test_binding.py b/tests/components/emulated_roku/test_binding.py index 712c35f5a10..53b6217fcbc 100644 --- a/tests/components/emulated_roku/test_binding.py +++ b/tests/components/emulated_roku/test_binding.py @@ -2,16 +2,16 @@ from unittest.mock import Mock, patch from homeassistant.components.emulated_roku.binding import ( - EmulatedRoku, - EVENT_ROKU_COMMAND, - ATTR_SOURCE_NAME, + ATTR_APP_ID, ATTR_COMMAND_TYPE, ATTR_KEY, - ATTR_APP_ID, - ROKU_COMMAND_KEYPRESS, + ATTR_SOURCE_NAME, + EVENT_ROKU_COMMAND, ROKU_COMMAND_KEYDOWN, + ROKU_COMMAND_KEYPRESS, ROKU_COMMAND_KEYUP, ROKU_COMMAND_LAUNCH, + EmulatedRoku, ) from tests.common import mock_coro_func diff --git a/tests/components/emulated_roku/test_config_flow.py b/tests/components/emulated_roku/test_config_flow.py index 3cb25f5a7fc..879d95d0cfc 100644 --- a/tests/components/emulated_roku/test_config_flow.py +++ b/tests/components/emulated_roku/test_config_flow.py @@ -1,5 +1,6 @@ """Tests for emulated_roku config flow.""" from homeassistant.components.emulated_roku import config_flow + from tests.common import MockConfigEntry diff --git a/tests/components/emulated_roku/test_init.py b/tests/components/emulated_roku/test_init.py index 92524f24d97..efdf330a876 100644 --- a/tests/components/emulated_roku/test_init.py +++ b/tests/components/emulated_roku/test_init.py @@ -1,8 +1,8 @@ """Test emulated_roku component setup process.""" from unittest.mock import Mock, patch -from homeassistant.setup import async_setup_component from homeassistant.components import emulated_roku +from homeassistant.setup import async_setup_component from tests.common import mock_coro_func