Update for file header, docstrings, and PEP8/PEP257
This commit is contained in:
parent
34b91cf6ce
commit
00afaac54c
74 changed files with 212 additions and 211 deletions
|
@ -1,8 +1,8 @@
|
|||
"""
|
||||
tests.test_component_switch
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
tests.components.test_init
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Tests switch component.
|
||||
Tests light component.
|
||||
"""
|
||||
# pylint: disable=too-many-public-methods,protected-access
|
||||
import unittest
|
||||
|
@ -18,7 +18,7 @@ from tests.common import mock_service, get_test_home_assistant
|
|||
|
||||
|
||||
class TestLight(unittest.TestCase):
|
||||
""" Test the switch module. """
|
||||
""" Test the light module. """
|
||||
|
||||
def setUp(self): # pylint: disable=invalid-name
|
||||
self.hass = get_test_home_assistant()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue