Module Import alias Import alias Import alias Import alias identifier ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad Dict Dict Str Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad Dict Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore ListLoad Dict Str Str Dict Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr ListLoad Str Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword ListLoad Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Dict Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list
N/A N/A copy N/A fixtures N/A mock N/A oslo_messaging messaging oslo_serialization jsonutils N/A testtools nova context nova rpc nova test RPCResetFixture N/A N/A fixtures Fixture N/A _setUp N/A N/A self N/A N/A N/A N/A self trans N/A N/A copy copy N/A rpc TRANSPORT N/A N/A self noti_trans N/A N/A copy copy N/A rpc NOTIFICATION_TRANSPORT N/A N/A self noti N/A N/A copy copy N/A rpc NOTIFIER N/A N/A self all_mods N/A N/A copy copy N/A rpc ALLOWED_EXMODS N/A N/A self ext_mods N/A N/A copy copy N/A rpc EXTRA_EXMODS N/A N/A N/A self addCleanup N/A self _reset_everything N/A _reset_everything N/A N/A self N/A N/A N/A N/A rpc TRANSPORT N/A self trans N/A N/A rpc NOTIFICATION_TRANSPORT N/A self noti_trans N/A N/A rpc NOTIFIER N/A self noti N/A N/A rpc ALLOWED_EXMODS N/A self all_mods N/A N/A rpc EXTRA_EXMODS N/A self ext_mods N/A N/A TestRPC N/A N/A testtools TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestRPC self setUp N/A N/A N/A self useFixture N/A RPCResetFixture N/A test_init_unversioned N/A N/A self mock_notif mock_noti_trans mock_trans mock_ser mock_exmods N/A N/A N/A expected N/A N/A N/A driver noop N/A N/A N/A self _test_init mock_notif mock_noti_trans mock_trans mock_ser mock_exmods unversioned expected N/A N/A N/A N/A mock patch object rpc get_allowed_exmods N/A N/A N/A mock patch object rpc RequestContextSerializer N/A N/A N/A mock patch object messaging get_transport N/A N/A N/A mock patch object messaging get_notification_transport N/A N/A N/A mock patch object messaging Notifier test_init_both N/A N/A self mock_notif mock_noti_trans mock_trans mock_ser mock_exmods N/A N/A N/A expected N/A N/A N/A topics N/A versioned_notifications N/A N/A N/A self _test_init mock_notif mock_noti_trans mock_trans mock_ser mock_exmods both expected N/A N/A N/A N/A mock patch object rpc get_allowed_exmods N/A N/A N/A mock patch object rpc RequestContextSerializer N/A N/A N/A mock patch object messaging get_transport N/A N/A N/A mock patch object messaging get_notification_transport N/A N/A N/A mock patch object messaging Notifier test_init_versioned N/A N/A self mock_notif mock_noti_trans mock_trans mock_ser mock_exmods N/A N/A N/A expected N/A N/A driver noop N/A topics N/A versioned_notifications N/A N/A N/A self _test_init mock_notif mock_noti_trans mock_trans mock_ser mock_exmods versioned expected N/A N/A N/A N/A mock patch object rpc get_allowed_exmods N/A N/A N/A mock patch object rpc RequestContextSerializer N/A N/A N/A mock patch object messaging get_transport N/A N/A N/A mock patch object messaging get_notification_transport N/A N/A N/A mock patch object messaging Notifier test_cleanup_transport_null N/A N/A self N/A N/A N/A N/A rpc NOTIFICATION_TRANSPORT N/A N/A mock Mock N/A N/A rpc LEGACY_NOTIFIER N/A N/A mock Mock N/A N/A rpc NOTIFIER N/A N/A mock Mock N/A N/A N/A self assertRaises AssertionError N/A rpc cleanup N/A test_cleanup_notification_transport_null N/A N/A self N/A N/A N/A N/A rpc TRANSPORT N/A N/A mock Mock N/A N/A rpc NOTIFIER N/A N/A mock Mock N/A N/A N/A self assertRaises AssertionError N/A rpc cleanup N/A test_cleanup_legacy_notifier_null N/A N/A self N/A N/A N/A N/A rpc TRANSPORT N/A N/A mock Mock N/A N/A rpc NOTIFICATION_TRANSPORT N/A N/A mock Mock N/A N/A rpc NOTIFIER N/A N/A mock Mock N/A test_cleanup_notifier_null N/A N/A self N/A N/A N/A N/A rpc TRANSPORT N/A N/A mock Mock N/A N/A rpc LEGACY_NOTIFIER N/A N/A mock Mock N/A N/A rpc NOTIFICATION_TRANSPORT N/A N/A mock Mock N/A N/A N/A self assertRaises AssertionError N/A rpc cleanup N/A test_cleanup N/A N/A self N/A N/A N/A N/A rpc LEGACY_NOTIFIER N/A N/A mock Mock N/A N/A rpc NOTIFIER N/A N/A mock Mock N/A N/A rpc NOTIFICATION_TRANSPORT N/A N/A mock Mock N/A N/A rpc TRANSPORT N/A N/A mock Mock N/A trans_cleanup N/A N/A mock Mock N/A not_trans_cleanup N/A N/A mock Mock N/A N/A N/A rpc TRANSPORT cleanup trans_cleanup N/A N/A N/A rpc NOTIFICATION_TRANSPORT cleanup not_trans_cleanup N/A N/A N/A rpc cleanup N/A N/A N/A trans_cleanup assert_called_once_with N/A N/A N/A not_trans_cleanup assert_called_once_with N/A N/A N/A self assertIsNone N/A rpc TRANSPORT N/A N/A N/A self assertIsNone N/A rpc NOTIFICATION_TRANSPORT N/A N/A N/A self assertIsNone N/A rpc LEGACY_NOTIFIER N/A N/A N/A self assertIsNone N/A rpc NOTIFIER N/A test_set_defaults N/A N/A self mock_set N/A N/A N/A control_exchange N/A N/A mock Mock N/A N/A N/A rpc set_defaults control_exchange N/A N/A N/A mock_set assert_called_once_with control_exchange N/A N/A N/A N/A mock patch object messaging set_transport_defaults test_add_extra_exmods N/A N/A self N/A N/A N/A N/A rpc EXTRA_EXMODS N/A N/A N/A N/A rpc add_extra_exmods foo bar N/A N/A N/A self assertEqual N/A foo bar N/A rpc EXTRA_EXMODS N/A test_clear_extra_exmods N/A N/A self N/A N/A N/A N/A rpc EXTRA_EXMODS N/A foo bar N/A N/A N/A rpc clear_extra_exmods N/A N/A N/A self assertEqual 0 N/A len N/A rpc EXTRA_EXMODS N/A test_get_allowed_exmods N/A N/A self N/A N/A N/A N/A rpc ALLOWED_EXMODS N/A foo N/A N/A rpc EXTRA_EXMODS N/A bar N/A exmods N/A N/A rpc get_allowed_exmods N/A N/A N/A self assertEqual N/A foo bar exmods N/A test_get_transport_url N/A N/A self mock_url N/A N/A N/A conf N/A N/A mock Mock N/A N/A rpc CONF conf N/A N/A N/A mock_url parse return_value foo N/A url N/A N/A rpc get_transport_url url_str bar N/A N/A N/A self assertEqual foo url N/A N/A N/A N/A mock_url parse assert_called_once_with conf bar N/A rpc TRANSPORT_ALIASES N/A N/A N/A N/A mock patch object messaging TransportURL test_get_transport_url_null N/A N/A self mock_url N/A N/A N/A conf N/A N/A mock Mock N/A N/A rpc CONF conf N/A N/A N/A mock_url parse return_value foo N/A url N/A N/A rpc get_transport_url N/A N/A N/A self assertEqual foo url N/A N/A N/A N/A mock_url parse assert_called_once_with conf None N/A rpc TRANSPORT_ALIASES N/A N/A N/A N/A mock patch object messaging TransportURL test_get_client N/A N/A self mock_client mock_ser N/A N/A N/A N/A rpc TRANSPORT N/A N/A mock Mock N/A tgt N/A N/A mock Mock N/A ser N/A N/A mock Mock N/A N/A mock_client return_value client N/A N/A mock_ser return_value ser N/A client N/A N/A rpc get_client tgt version_cap 1.0 serializer foo N/A N/A N/A mock_ser assert_called_once_with foo N/A N/A N/A mock_client assert_called_once_with N/A rpc TRANSPORT tgt version_cap 1.0 serializer ser N/A N/A N/A self assertEqual client client N/A N/A N/A N/A mock patch object rpc RequestContextSerializer N/A N/A N/A mock patch object messaging RPCClient test_get_server N/A N/A self mock_get mock_ser N/A N/A N/A N/A rpc TRANSPORT N/A N/A mock Mock N/A ser N/A N/A mock Mock N/A tgt N/A N/A mock Mock N/A ends N/A N/A mock Mock N/A N/A mock_ser return_value ser N/A N/A mock_get return_value server N/A server N/A N/A rpc get_server tgt ends serializer foo N/A N/A N/A mock_ser assert_called_once_with foo N/A N/A N/A mock_get assert_called_once_with N/A rpc TRANSPORT tgt ends executor eventlet serializer ser N/A N/A N/A self assertEqual server server N/A N/A N/A N/A mock patch object rpc RequestContextSerializer N/A N/A N/A mock patch object messaging get_rpc_server test_get_notifier N/A N/A self N/A N/A N/A N/A rpc LEGACY_NOTIFIER N/A N/A mock Mock N/A mock_prep N/A N/A mock Mock N/A N/A mock_prep return_value notifier N/A N/A N/A rpc LEGACY_NOTIFIER prepare mock_prep N/A notifier N/A N/A rpc get_notifier service publisher_id foo N/A N/A N/A mock_prep assert_called_once_with publisher_id foo N/A N/A N/A self assertIsInstance notifier N/A rpc LegacyValidatingNotifier N/A N/A N/A self assertEqual notifier N/A notifier notifier N/A test_get_notifier_null_publisher N/A N/A self N/A N/A N/A N/A rpc LEGACY_NOTIFIER N/A N/A mock Mock N/A mock_prep N/A N/A mock Mock N/A N/A mock_prep return_value notifier N/A N/A N/A rpc LEGACY_NOTIFIER prepare mock_prep N/A notifier N/A N/A rpc get_notifier service host bar N/A N/A N/A mock_prep assert_called_once_with publisher_id service.bar N/A N/A N/A self assertIsInstance notifier N/A rpc LegacyValidatingNotifier N/A N/A N/A self assertEqual notifier N/A notifier notifier N/A test_get_versioned_notifier N/A N/A self N/A N/A N/A N/A rpc NOTIFIER N/A N/A mock Mock N/A mock_prep N/A N/A mock Mock N/A N/A mock_prep return_value notifier N/A N/A N/A rpc NOTIFIER prepare mock_prep N/A notifier N/A N/A rpc get_versioned_notifier service.foo N/A N/A N/A mock_prep assert_called_once_with publisher_id service.foo N/A N/A N/A self assertEqual notifier notifier N/A _test_init N/A N/A self mock_notif mock_noti_trans mock_trans mock_ser mock_exmods notif_format expected_driver_topic_kwargs N/A N/A N/A legacy_notifier N/A N/A mock Mock N/A notifier N/A N/A mock Mock N/A notif_transport N/A N/A mock Mock N/A transport N/A N/A mock Mock N/A serializer N/A N/A mock Mock N/A conf N/A N/A mock Mock N/A N/A conf notification_format notif_format N/A N/A mock_exmods return_value N/A foo N/A N/A mock_trans return_value transport N/A N/A mock_noti_trans return_value notif_transport N/A N/A mock_ser return_value serializer N/A N/A mock_notif side_effect N/A legacy_notifier notifier N/A N/A N/A rpc init conf N/A N/A N/A mock_exmods assert_called_once_with N/A N/A N/A mock_trans assert_called_once_with conf allowed_remote_exmods N/A foo aliases N/A rpc TRANSPORT_ALIASES N/A N/A N/A self assertIsNotNone N/A rpc TRANSPORT N/A N/A N/A self assertIsNotNone N/A rpc LEGACY_NOTIFIER N/A N/A N/A self assertIsNotNone N/A rpc NOTIFIER N/A N/A N/A self assertEqual legacy_notifier N/A rpc LEGACY_NOTIFIER N/A N/A N/A self assertEqual notifier N/A rpc NOTIFIER N/A expected_calls N/A N/A kwargs expected_driver_topic_kwargs N/A N/A expected_kwargs N/A serializer serializer N/A N/A N/A expected_kwargs update kwargs N/A N/A N/A expected_calls append N/A N/A notif_transport expected_kwargs N/A N/A N/A self assertEqual expected_calls N/A mock_notif call_args_list The calls to messaging.Notifier() did not create the legacy and versioned notifiers properly. N/A N/A TestJsonPayloadSerializer N/A N/A test NoDBTestCase N/A test_serialize_entity N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object jsonutils to_primitive mock_prim N/A N/A N/A N/A N/A rpc JsonPayloadSerializer serialize_entity context entity N/A N/A N/A mock_prim assert_called_once_with entity convert_instances True N/A N/A TestRequestContextSerializer N/A N/A test NoDBTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestRequestContextSerializer self setUp N/A N/A self mock_base N/A N/A mock Mock N/A N/A self ser N/A N/A rpc RequestContextSerializer N/A self mock_base N/A N/A self ser_null N/A N/A rpc RequestContextSerializer None N/A test_serialize_entity N/A N/A self N/A N/A N/A N/A N/A N/A self mock_base serialize_entity return_value foo N/A ser_ent N/A N/A N/A self ser serialize_entity context entity N/A N/A N/A N/A N/A self mock_base serialize_entity assert_called_once_with context entity N/A N/A N/A self assertEqual foo ser_ent N/A test_serialize_entity_null_base N/A N/A self N/A N/A N/A ser_ent N/A N/A N/A self ser_null serialize_entity context entity N/A N/A N/A self assertEqual entity ser_ent N/A test_deserialize_entity N/A N/A self N/A N/A N/A N/A N/A N/A self mock_base deserialize_entity return_value foo N/A deser_ent N/A N/A N/A self ser deserialize_entity context entity N/A N/A N/A N/A N/A self mock_base deserialize_entity assert_called_once_with context entity N/A N/A N/A self assertEqual foo deser_ent N/A test_deserialize_entity_null_base N/A N/A self N/A N/A N/A deser_ent N/A N/A N/A self ser_null deserialize_entity context entity N/A N/A N/A self assertEqual entity deser_ent N/A test_serialize_context N/A N/A self N/A N/A N/A context N/A N/A mock Mock N/A N/A N/A N/A self ser serialize_context context N/A N/A N/A N/A context to_dict assert_called_once_with N/A test_deserialize_context N/A N/A self mock_req N/A N/A N/A N/A N/A N/A self ser deserialize_context context N/A N/A N/A N/A mock_req from_dict assert_called_once_with context N/A N/A N/A N/A mock patch object context RequestContext N/A