That MismatchError in the fake_deserialize_context just gets swallowed and logged in oslo.messaging:
https://github.com/openstack/oslo.messaging/blob/9.4.0/oslo_messaging/rpc/server.py#L175
So there is not really a point in having that stubbed out just to assert something that doesn't matter to the test anyway.
That MismatchError in the fake_deserializ e_context just gets swallowed and logged in oslo.messaging:
https:/ /github. com/openstack/ oslo.messaging/ blob/9. 4.0/oslo_ messaging/ rpc/server. py#L175
So there is not really a point in having that stubbed out just to assert something that doesn't matter to the test anyway.