mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Axis change how new event is signalled (#23152)
This commit is contained in:
@@ -167,7 +167,7 @@ async def test_new_event_sends_signal(hass):
|
||||
axis_device = device.AxisNetworkDevice(hass, entry)
|
||||
|
||||
with patch.object(device, 'async_dispatcher_send') as mock_dispatch_send:
|
||||
axis_device.async_event_callback(action='add', event='event')
|
||||
axis_device.async_event_callback(action='add', event_id='event')
|
||||
await hass.async_block_till_done()
|
||||
|
||||
assert len(mock_dispatch_send.mock_calls) == 1
|
||||
|
||||
Reference in New Issue
Block a user