fix some further tests

This commit is contained in:
Jeremy Hanmer 2014-10-30 11:18:20 -07:00
parent 9e1ac8e15e
commit 6053989ed8
1 changed files with 3 additions and 1 deletions

View File

@ -185,4 +185,6 @@ class TestIPTablesConfiguration(TestCase):
'-A PREROUTING -i eth2 -d 172.16.77.50 -j DNAT --to-destination 192.168.0.2', # noqa
'-A POSTROUTING -o eth1 -j MASQUERADE' # noqa
]
assert mgr._build_floating_ips(config) == []
assert map(str, mgr._build_floating_ips(config)) == [
'-A POSTROUTING -o eth1 -j MASQUERADE' # noqa
]