From c208a18d0d6b27c43c7202aacd4bd23a0870f467 Mon Sep 17 00:00:00 2001 From: Sebastien Blot Date: Mon, 23 Sep 2024 15:31:44 +0200 Subject: [PATCH] up --- test/backends/iptables/test_iptables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/backends/iptables/test_iptables.py b/test/backends/iptables/test_iptables.py index 800a92b3..4263933e 100644 --- a/test/backends/iptables/test_iptables.py +++ b/test/backends/iptables/test_iptables.py @@ -201,7 +201,7 @@ def testLogging(self): #Check if our logging chain is in place output = run_cmd("iptables", "-L", LOGGING_CHAIN_NAME) - rules = [line for line in output.split("\n") if LOGGING_CHAIN_NAME in line] + rules = [line for line in output.split("\n")] #2 rules: one logging, one generic drop self.assertEqual(len(rules), 2)