From c09ac8ebed5a798319162d5aa3355de0f50002b9 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Thu, 4 Apr 2019 02:53:18 +0200 Subject: [PATCH] small amend (typo) --- fail2ban/tests/samplestestcase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fail2ban/tests/samplestestcase.py b/fail2ban/tests/samplestestcase.py index af04df7f..e8994fb7 100644 --- a/fail2ban/tests/samplestestcase.py +++ b/fail2ban/tests/samplestestcase.py @@ -170,7 +170,7 @@ def testSampleRegexsFactory(name, basedir): commonOpts = faildata continue # filterOptions - dict in JSON to control filter options (e. g. mode, etc.): - if jsonREMatch.group(1) in 'filterOptions': + if jsonREMatch.group(1) == 'filterOptions': # following lines with another filter options: self._filterTests = [] ignoreBlock = False