mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
sort imports according to PEP8 for yweather (#29608)
This commit is contained in:
parent
74c0219d0c
commit
09ff0a5ac6
@ -1,12 +1,11 @@
|
||||
"""The tests for the Yahoo weather sensor component."""
|
||||
import json
|
||||
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
from homeassistant.setup import setup_component
|
||||
|
||||
from tests.common import get_test_home_assistant, load_fixture, MockDependency
|
||||
from tests.common import MockDependency, get_test_home_assistant, load_fixture
|
||||
|
||||
VALID_CONFIG_MINIMAL = {
|
||||
"sensor": {"platform": "yweather", "monitored_conditions": ["weather"]}
|
||||
|
@ -1,6 +1,5 @@
|
||||
"""The tests for the Yahoo weather component."""
|
||||
import json
|
||||
|
||||
import unittest
|
||||
from unittest.mock import patch
|
||||
|
||||
@ -11,10 +10,10 @@ from homeassistant.components.weather import (
|
||||
ATTR_WEATHER_WIND_BEARING,
|
||||
ATTR_WEATHER_WIND_SPEED,
|
||||
)
|
||||
from homeassistant.util.unit_system import METRIC_SYSTEM
|
||||
from homeassistant.setup import setup_component
|
||||
from homeassistant.util.unit_system import METRIC_SYSTEM
|
||||
|
||||
from tests.common import get_test_home_assistant, load_fixture, MockDependency
|
||||
from tests.common import MockDependency, get_test_home_assistant, load_fixture
|
||||
|
||||
|
||||
def _yql_queryMock(yql): # pylint: disable=invalid-name
|
||||
|
Loading…
x
Reference in New Issue
Block a user