]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Extend test coverage for iptables_firewall.py
authorMiguel Angel Ajo <mangelajo@redhat.com>
Fri, 6 Feb 2015 12:10:52 +0000 (12:10 +0000)
committerMiguel Angel Ajo <mangelajo@redhat.com>
Tue, 3 Mar 2015 15:16:37 +0000 (15:16 +0000)
commitf1fe1fe9129f0bb5a8dc9e95e17dca17fd0693b9
tree0a4ea77abc883f42af45550f05a049d4a12278c3
parent8174e4b8c463f0d0bc36102543efbf148fcef4af
Extend test coverage for iptables_firewall.py

Before refactoring _remove_unused_security_group_info, we
found a few corner cases that were not tested. We ensure
with this test that sg_rules and sg_members of the firewall
object are properly cleaned up when the objects they
keep are not referenced anymore.

Partially implements blueprint refactor-iptables-firewall-driver

Change-Id: I44da9ddddf7ba85ba4b76ecc835155c8fb813d90
neutron/tests/unit/test_iptables_firewall.py