Update for file header, docstrings, and PEP8/PEP257

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

No files matched your search

+2 -2
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')