Remove commented code (#74860)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2021-06-01 20:56:38 +05:30 committed by GitHub
parent 41f42d6bf6
commit 70f22c7f32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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',