PEP-8 fixes
This commit is contained in:
@@ -352,8 +352,8 @@ class IptablesFirewallTestCase(test.TestCase):
|
|||||||
security_group_chain in self.out_rules,
|
security_group_chain in self.out_rules,
|
||||||
"ICMP acceptance rule wasn't added")
|
"ICMP acceptance rule wasn't added")
|
||||||
|
|
||||||
self.assertTrue('-A %s -p icmp -s 192.168.11.0/24 -m icmp --icmp-type'
|
self.assertTrue('-A %s -p icmp -s 192.168.11.0/24 -m icmp --icmp-type '
|
||||||
' 8 -j ACCEPT' % security_group_chain in self.out_rules,
|
'8 -j ACCEPT' % security_group_chain in self.out_rules,
|
||||||
"ICMP Echo Request acceptance rule wasn't added")
|
"ICMP Echo Request acceptance rule wasn't added")
|
||||||
|
|
||||||
self.assertTrue('-A %s -p tcp -s 192.168.10.0/24 -m multiport '
|
self.assertTrue('-A %s -p tcp -s 192.168.10.0/24 -m multiport '
|
||||||
@@ -496,4 +496,3 @@ class NWFilterTestCase(test.TestCase):
|
|||||||
self.fw.apply_instance_filter(instance)
|
self.fw.apply_instance_filter(instance)
|
||||||
_ensure_all_called()
|
_ensure_all_called()
|
||||||
self.teardown_security_group()
|
self.teardown_security_group()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user