mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 05:50:13 +00:00
Update for file header, docstrings, and PEP8/PEP257
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
tests.components.switch.test_mqtt
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Tests mqtt switch.
|
||||
Tests MQTT switch.
|
||||
"""
|
||||
import unittest
|
||||
|
||||
@@ -107,4 +107,4 @@ class TestSensorMQTT(unittest.TestCase):
|
||||
self.hass.pool.block_till_done()
|
||||
|
||||
state = self.hass.states.get('switch.test')
|
||||
self.assertEqual(STATE_OFF, state.state)
|
||||
self.assertEqual(STATE_OFF, state.state)
|
||||
|
||||
Reference in New Issue
Block a user