Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
blotus committed Sep 23, 2024
1 parent b441e1a commit 94febb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/backends/iptables/test_iptables.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ def testLogging(self):
#Check if our logging chain is in place

output = run_cmd("iptables", "-L", LOGGING_CHAIN_NAME)
print(output)
rules = [line for line in output.split("\n") if 'anywhere' in line]

#2 rules: one logging, one generic drop
Expand All @@ -210,7 +209,7 @@ def testLogging(self):
#Check if the logging chain is called from the main chain

output = run_cmd("iptables", "-L", CHAIN_NAME)

print(output)
rules = [line for line in output.split("\n") if LOGGING_CHAIN_NAME in line]

self.assertEqual(len(rules), 1)
Expand Down

0 comments on commit 94febb5

Please sign in to comment.