removed pylint error

This commit is contained in:
Jayesh Kariya 2015-02-03 13:34:01 +05:30
parent 1ae01547e3
commit d1b4fce53e

View File

@ -207,7 +207,7 @@ class IptablesTestCase(TestCase):
_rule = 'm state --state RELATED,ESTABLISHED -j ACCEPT'
mock = MagicMock(side_effect=[True, False])
with patch.dict(iptables.__salt__, {'cmd.run': mock,}):
with patch.dict(iptables.__salt__, {'cmd.run': mock}):
self.assertTrue(iptables.check(table='filter', chain='INPUT',
rule=_rule, family='ipv4'))