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.test_splunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tests splunk component.
"""
@ -40,7 +40,6 @@ class TestSplunk(unittest.TestCase):
self.assertEqual(EVENT_STATE_CHANGED,
hass.bus.listen.call_args_list[0][0][0])
def _setup(self, mock_requests):
self.mock_post = mock_requests.post
self.mock_request_exception = Exception