the sequence in args-dict is currently undefined (so can be 1st argument with `?` instead of `&`)

pull/1733/head
sebres 2017-03-24 17:35:41 +01:00
parent 990d9a66da
commit 6ac5c55edc
1 changed files with 2 additions and 1 deletions

View File

@ -276,7 +276,8 @@ class Fail2banRegexTest(LogCaptureTestCase):
)
self.assertTrue(fail2banRegex.start(args))
self.assertLogged('Lines: 4 lines, 0 ignored, 2 matched, 2 missed')
self.assertLogged("&flags=m")
# the sequence in args-dict is currently undefined (so can be 1st argument)
self.assertLogged("&flags=m", "?flags=m")
def testSinglelineWithNLinContent(self):
#