mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fix iptables test_flush
This commit is contained in:
parent
7ab3c441e6
commit
fd036278e8
@ -353,8 +353,8 @@ class IptablesTestCase(TestCase):
|
||||
with patch.dict(iptables.__salt__,
|
||||
{'iptables.flush': mock}):
|
||||
ret.update({'changes': {'locale': 'salt'},
|
||||
'comment': 'Flush iptables rules in'
|
||||
' table chain ipv4 family',
|
||||
'comment': 'Flush iptables rules in '
|
||||
'filter table chain ipv4 family',
|
||||
'result': True})
|
||||
self.assertDictEqual(iptables.flush('salt',
|
||||
table='', chain=''),
|
||||
|
Loading…
Reference in New Issue
Block a user