]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Mock agent RPC for FWaaS tests to delete DB objs
authorKevin Benton <blak111@gmail.com>
Tue, 4 Mar 2014 11:27:11 +0000 (03:27 -0800)
committerAkihiro Motoki <motoki@da.jp.nec.com>
Wed, 19 Mar 2014 02:57:44 +0000 (11:57 +0900)
commit1959092bca5646306cfec5303f43627e78f6e2d4
treef52bdfb52d9a65f65162c8befbdefdeb2921fd80
parent0009e474e23c84e5952696e4fc423fd69c9ed74d
Mock agent RPC for FWaaS tests to delete DB objs

This changes the firewall service unit tests to
mock the RPC calls from the firewall service to
the agent. This allows the tests to fake the
agent response RPC that removes the firewall
from the DB so the all of the other objects that
the firewall depends on can be deleted.

Closes-Bug: #1288441
Change-Id: I32462ab5557b9c52328bf6a23a12efc2d799644c
neutron/tests/unit/db/firewall/test_db_firewall.py
neutron/tests/unit/services/firewall/test_fwaas_plugin.py