Axis change how new event is signalled (#23152)

This commit is contained in:
Robert Svensson authored and GitHub committed 2019-04-17 15:21:42 +02:00
1 parent e114ae9b53
commit 0b7e62f737
6 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -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