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

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

View file

@ -1,20 +1,20 @@
"""Test the unit system helper."""
import pytest
from homeassistant.util.unit_system import UnitSystem, METRIC_SYSTEM, IMPERIAL_SYSTEM
from homeassistant.const import (
LENGTH_METERS,
LENGTH_KILOMETERS,
MASS_GRAMS,
PRESSURE_PA,
VOLUME_LITERS,
TEMP_CELSIUS,
LENGTH,
LENGTH_KILOMETERS,
LENGTH_METERS,
MASS,
MASS_GRAMS,
PRESSURE,
PRESSURE_PA,
TEMP_CELSIUS,
TEMPERATURE,
VOLUME,
VOLUME_LITERS,
)
from homeassistant.util.unit_system import IMPERIAL_SYSTEM, METRIC_SYSTEM, UnitSystem
SYSTEM_NAME = "TEST"
INVALID_UNIT = "INVALID"