use isort to sort imports according to PEP8 for automation (#29620)

This commit is contained in:
Bas Nijholt 2019-12-08 17:29:39 +01:00 committed by Fabian Affolter
parent a38f3ac9c6
commit d3f67c3841
30 changed files with 87 additions and 90 deletions

View file

@ -1,17 +1,21 @@
"""The test for state automation."""
from datetime import timedelta
import pytest
from unittest.mock import patch
import pytest
import homeassistant.components.automation as automation
from homeassistant.core import Context
from homeassistant.setup import async_setup_component
import homeassistant.util.dt as dt_util
import homeassistant.components.automation as automation
from tests.common import async_fire_time_changed, assert_setup_component, mock_component
from tests.common import (
assert_setup_component,
async_fire_time_changed,
async_mock_service,
mock_component,
)
from tests.components.automation import common
from tests.common import async_mock_service
@pytest.fixture