]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Reduce duplicate code in test_iptables_manager
authorzhiyuan_cai <luckyvega.g@gmail.com>
Mon, 29 Dec 2014 10:48:49 +0000 (18:48 +0800)
committerzhiyuan_cai <luckyvega.g@gmail.com>
Tue, 6 Jan 2015 10:39:00 +0000 (18:39 +0800)
commit8af2cc5c21a17cb05d1733feae4e501e614d028c
tree3c7a8c7beeac005f16c3931b66f165f8d7272951
parent6e42c4c926dacef74b1816126b43faa3abfe8948
Reduce duplicate code in test_iptables_manager

test_iptables_manager contains many hard-code iptables dumps
which share most of the contents, extract the common part to
reduce duplication.

Change-Id: I2e373f8fe26f77db832da00c56ada6cfa3c50746
neutron/tests/unit/test_iptables_manager.py