Remove commented code (#74860)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
41f42d6bf6
commit
70f22c7f32
1 changed files with 0 additions and 10 deletions
|
@ -87,8 +87,6 @@ class TestIptables(ModuleTestCase):
|
||||||
self.assertTrue(result.exception.args[0]['changed'])
|
self.assertTrue(result.exception.args[0]['changed'])
|
||||||
|
|
||||||
self.assertEqual(run_command.call_count, 2)
|
self.assertEqual(run_command.call_count, 2)
|
||||||
# import pdb
|
|
||||||
# pdb.set_trace()
|
|
||||||
self.assertEqual(run_command.call_args_list[0][0][0], [
|
self.assertEqual(run_command.call_args_list[0][0][0], [
|
||||||
'/sbin/iptables',
|
'/sbin/iptables',
|
||||||
'-t',
|
'-t',
|
||||||
|
@ -123,8 +121,6 @@ class TestIptables(ModuleTestCase):
|
||||||
self.assertFalse(result.exception.args[0]['changed'])
|
self.assertFalse(result.exception.args[0]['changed'])
|
||||||
|
|
||||||
self.assertEqual(run_command.call_count, 1)
|
self.assertEqual(run_command.call_count, 1)
|
||||||
# import pdb
|
|
||||||
# pdb.set_trace()
|
|
||||||
self.assertEqual(run_command.call_args_list[0][0][0], [
|
self.assertEqual(run_command.call_args_list[0][0][0], [
|
||||||
'/sbin/iptables',
|
'/sbin/iptables',
|
||||||
'-t',
|
'-t',
|
||||||
|
@ -151,8 +147,6 @@ class TestIptables(ModuleTestCase):
|
||||||
self.assertTrue(result.exception.args[0]['changed'])
|
self.assertTrue(result.exception.args[0]['changed'])
|
||||||
|
|
||||||
self.assertEqual(run_command.call_count, 1)
|
self.assertEqual(run_command.call_count, 1)
|
||||||
# import pdb
|
|
||||||
# pdb.set_trace()
|
|
||||||
self.assertEqual(run_command.call_args_list[0][0][0], [
|
self.assertEqual(run_command.call_args_list[0][0][0], [
|
||||||
'/sbin/iptables',
|
'/sbin/iptables',
|
||||||
'-t',
|
'-t',
|
||||||
|
@ -188,8 +182,6 @@ class TestIptables(ModuleTestCase):
|
||||||
self.assertTrue(result.exception.args[0]['changed'])
|
self.assertTrue(result.exception.args[0]['changed'])
|
||||||
|
|
||||||
self.assertEqual(run_command.call_count, 1)
|
self.assertEqual(run_command.call_count, 1)
|
||||||
# import pdb
|
|
||||||
# pdb.set_trace()
|
|
||||||
self.assertEqual(run_command.call_args_list[0][0][0], [
|
self.assertEqual(run_command.call_args_list[0][0][0], [
|
||||||
'/sbin/iptables',
|
'/sbin/iptables',
|
||||||
'-t',
|
'-t',
|
||||||
|
@ -226,8 +218,6 @@ class TestIptables(ModuleTestCase):
|
||||||
self.assertTrue(result.exception.args[0]['changed'])
|
self.assertTrue(result.exception.args[0]['changed'])
|
||||||
|
|
||||||
self.assertEqual(run_command.call_count, 2)
|
self.assertEqual(run_command.call_count, 2)
|
||||||
# import pdb
|
|
||||||
# pdb.set_trace()
|
|
||||||
self.assertEqual(run_command.call_args_list[0][0][0], [
|
self.assertEqual(run_command.call_args_list[0][0][0], [
|
||||||
'/sbin/iptables',
|
'/sbin/iptables',
|
||||||
'-t',
|
'-t',
|
||||||
|
|
Loading…
Reference in a new issue