Sort imports according to PEP8 for components starting with "U" (#29779)

* use isort to sort imports for components starting with 'u'

* add 'pylint: disable=import-error' to the right place
This commit is contained in:
Bas Nijholt 2019-12-09 19:07:32 +01:00 committed by Franck Nijhof
parent 80c344d3a8
commit e37443f10c
13 changed files with 55 additions and 56 deletions

View file

@ -1,11 +1,12 @@
"""The tests for the uptime sensor platform."""
import asyncio
from datetime import timedelta
import unittest
from unittest.mock import patch
from datetime import timedelta
from homeassistant.setup import setup_component
from homeassistant.components.uptime.sensor import UptimeSensor
from homeassistant.setup import setup_component
from tests.common import get_test_home_assistant