'Call before every test case.'

def setUp(self):

    setUpMyTime()
    LogCaptureTestCase.setUp(self)
    self.filter = self.name = 'NA'
    (_, self.name) = tempfile.mkstemp('fail2ban', 'monitorfailures')
    self.file = open(self.name, 'a')
    self.filter = FilterPoll(DummyJail())
    self.filter.addLogPath(self.name, autoSeek=False)
    self.filter.active = True
    self.filter.addFailRegex('(?:(?:Authentication    failure|Failed    [-/\\w+]+)    for(?:    [iI](?:llegal|nvalid)    user)?|[Ii](?:llegal|nvalid)    user|ROOT    LOGIN    REFUSED)    .*(?:    from|FROM)    <HOST>')
