1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00
* Fix demo

* Fix types

* Fix all the things

* Fix type

* Fix test

* Lint
This commit is contained in:
Paulus Schoutsen
2019-04-14 16:59:06 -07:00
committed by GitHub
parent 1d2e9b6915
commit 6b0180f753
20 changed files with 137 additions and 200 deletions

View File

@@ -74,7 +74,7 @@ class TestNotifyDemo(unittest.TestCase):
self.hass.block_till_done()
assert notify.DOMAIN in self.hass.config.components
assert mock_demo_get_service.called
assert mock_demo_get_service.call_args[0] == (
assert mock_demo_get_service.mock_calls[0][1] == (
self.hass, {}, {'test_key': 'test_val'})
@callback