Update docstrings (#7361)

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update docstrings

* Update tomato.py

* Update isy994.py

* Lint + fix tests

* Lint
This commit is contained in:
Fabian Affolter
2017-04-29 22:04:49 -07:00
committed by Paulus Schoutsen
parent e22e70a01a
commit 3ee4d1060f
264 changed files with 1686 additions and 1768 deletions
@@ -87,7 +87,7 @@ class TestDdwrt(unittest.TestCase):
}})
self.assertTrue(
'Invalid response from ddwrt' in
'Invalid response from DD-WRT' in
str(mock_error.call_args_list[-1]))
@mock.patch('homeassistant.components.device_tracker._LOGGER.error')
+2 -1
View File
@@ -106,7 +106,8 @@ class TestSplunk(unittest.TestCase):
self.mock_post.call_args,
mock.call(
payload['host'], data=payload,
headers={'Authorization': 'Splunk secret'}
headers={'Authorization': 'Splunk secret'},
timeout=10
)
)
self.mock_post.reset_mock()