From 379b4860a11b2d45099555dc9acc70655a4ec9d2 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sat, 29 Jun 2013 20:36:09 +0100 Subject: [PATCH] TST: Fix test for MultipleSameAction with no logs files --- fail2ban/tests/clientreadertestcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/tests/clientreadertestcase.py b/fail2ban/tests/clientreadertestcase.py index 806a2cb3..9095a4af 100644 --- a/fail2ban/tests/clientreadertestcase.py +++ b/fail2ban/tests/clientreadertestcase.py @@ -386,7 +386,7 @@ filter = testfilter1 jails = JailsReader(basedir=basedir) self.assertTrue(jails.read()) self.assertTrue(jails.getOptions()) - comm_commands = jails.convert() + comm_commands = jails.convert(allow_no_files=True) action_names = [comm[-1] for comm in comm_commands if comm[:3] == ['set', 'testjail1', 'addaction']]