diff --git a/fail2ban/tests/fail2banregextestcase.py b/fail2ban/tests/fail2banregextestcase.py index 213ea89b..4b11ef9a 100644 --- a/fail2ban/tests/fail2banregextestcase.py +++ b/fail2ban/tests/fail2banregextestcase.py @@ -146,7 +146,7 @@ class Fail2banRegexTest(LogCaptureTestCase): "test", r"^(?:(?PA)|B)? (?(typo)...) from " )) self.assertLogged("Unable to compile regular expression") - self.assertLogged("unknown group name: 'typo'", "at position 23", all=False); # details of failed compilation + self.assertLogged("unknown group name", "at position 23", all=False); # details of failed compilation def testWrongIngnoreRE(self): self.assertFalse(_test_exec(