Update for file header, docstrings, and PEP8/PEP257

This commit is contained in:
Fabian Affolter 2016-02-13 14:19:11 +01:00
parent 34b91cf6ce
commit 00afaac54c
74 changed files with 212 additions and 211 deletions

View file

@ -1,6 +1,6 @@
"""
tests.components.sensor.test_yr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests Yr sensor.
"""
@ -73,7 +73,7 @@ class TestSensorYr:
assert '1025.1' == state.state
state = self.hass.states.get('sensor.yr_wind_direction')
assert '°'== state.attributes.get('unit_of_measurement')
assert '°' == state.attributes.get('unit_of_measurement')
assert '81.8' == state.state
state = self.hass.states.get('sensor.yr_humidity')