]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
rpc.callbacks.registry: validate type of callback result
authorIhar Hrachyshka <ihrachys@redhat.com>
Sat, 25 Jul 2015 19:35:44 +0000 (21:35 +0200)
committerIhar Hrachyshka <ihrachys@redhat.com>
Mon, 27 Jul 2015 12:04:34 +0000 (14:04 +0200)
commit92d94bf020ede2a37c3c966c9ac7ed68b139cccd
treed07b41ce88d18427120aeb5ea900b8030f16fc4d
parentd2259240bb06f2e1d82465d3ddc0ee7073795087
rpc.callbacks.registry: validate type of callback result

Enforce appropriate type for the object returned by rpc callback.

Partially-Implements: blueprint quantum-qos-api
Change-Id: I994253ac15320254104862d2df8dacfc7fc00014
neutron/api/rpc/callbacks/registry.py
neutron/tests/unit/api/rpc/callbacks/test_registry.py [new file with mode: 0644]
neutron/tests/unit/api/rpc/callbacks/test_resource_manager.py