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 authored and Paulus Schoutsen committed 2017-04-29 22:04:49 -07:00
1 parent e22e70a01a
commit 3ee4d1060f
264 files changed
+1686 -1768

No files matched your search

@@ -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()