The mock of sendone/many was relying on the bus_service. Since owl.Component.env is changing during tests setup, the bus_service was not always defined. In order to make this more reliable, the longpolling/poll route is now mocked, returning a promise that can be resolved by the sendone/many methods. closes odoo/odoo#97298 Related: odoo/enterprise#30059 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>