mirror of https://github.com/fail2ban/fail2ban
Remove self.printlog() call
This seems to have been used for debugging, while unittest method was disabledpull/1131/head
parent
fe8cc3e83d
commit
8822ed4144
|
@ -190,7 +190,6 @@ class JailReaderTest(LogCaptureTestCase):
|
||||||
self.assertTrue(jail.read())
|
self.assertTrue(jail.read())
|
||||||
self.assertFalse(jail.getOptions())
|
self.assertFalse(jail.getOptions())
|
||||||
self.assertTrue(jail.isEnabled())
|
self.assertTrue(jail.isEnabled())
|
||||||
self.printLog()
|
|
||||||
self.assertTrue(self._is_logged('Error in action definition joho[foo'))
|
self.assertTrue(self._is_logged('Error in action definition joho[foo'))
|
||||||
# This unittest has been deactivated for some time...
|
# This unittest has been deactivated for some time...
|
||||||
# self.assertTrue(self._is_logged(
|
# self.assertTrue(self._is_logged(
|
||||||
|
|
Loading…
Reference in New Issue