mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Fix demo (#23087)
* Fix demo * Fix types * Fix all the things * Fix type * Fix test * Lint
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user