In order to prepare the ground/reduce the noise in the PR introducing the websockets in Odoo, the mocks of the longpolling route in tests is replaced by calls to sendone/sendmany. This will allow to keep the same code while changing the underlying technology. task-2053917 closes odoo/odoo#97771 Related: odoo/enterprise#30244 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>