Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def test_subscribe(manager_open):

assert future._manager._subscription == "sub_name_a"
manager_open.assert_called_once_with(
mock.ANY, mock.sentinel.callback, future.set_exception
mock.ANY,
callback=mock.sentinel.callback,
on_callback_error=future.set_exception,
)


Expand All @@ -100,5 +102,7 @@ def test_subscribe_options(manager_open):
assert future._manager.flow_control == flow_control
assert future._manager._scheduler == scheduler
manager_open.assert_called_once_with(
mock.ANY, mock.sentinel.callback, future.set_exception
mock.ANY,
callback=mock.sentinel.callback,
on_callback_error=future.set_exception,
)