In the mocked version of the longpolling bus used in tests, the is_odoo_focused function should be defined to prevent crashes when we simulate incoming messages.
In the mocked version of the longpolling bus used in tests, the is_odoo_focused function should be defined to prevent crashes when we simulate incoming messages.