mirror of https://github.com/fail2ban/fail2ban
code review after merge (removed unnecessary code-pieces resp. code-duplication)
parent
05951a23a5
commit
7e1bc59f80
|
@ -172,8 +172,6 @@ class DatabaseTest(LogCaptureTestCase):
|
|||
os.remove(self.db._dbBackupFilename)
|
||||
|
||||
def testUpdateDb2(self):
|
||||
if Fail2BanDb is None: # pragma: no cover
|
||||
return
|
||||
self.db = None
|
||||
if self.dbFilename is None: # pragma: no cover
|
||||
_, self.dbFilename = tempfile.mkstemp(".db", "fail2ban_")
|
||||
|
|
Loading…
Reference in New Issue