Update for file header, docstrings, and PEP8/PEP257
This commit is contained in:
1 parent
34b91cf6ce
commit
00afaac54c
74 files changed
+212
-211
No files matched your search
@@ -1,6 +1,6 @@
|
||||
"""
|
||||
tests.test_component_alexa
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
tests.components.test_alexa
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Tests Home Assistant Alexa component does what it should do.
|
||||
"""
|
||||
@@ -33,7 +33,7 @@ calls = []
|
||||
@patch('homeassistant.components.http.util.get_local_ip',
|
||||
return_value='127.0.0.1')
|
||||
def setUpModule(mock_get_local_ip): # pylint: disable=invalid-name
|
||||
"""Initalize a Home Assistant server for testing this module."""
|
||||
""" Initalize a Home Assistant server for testing this module. """
|
||||
global hass
|
||||
|
||||
hass = ha.HomeAssistant()
|
||||
|
||||
Reference in new issue
Block a user