'Call before every test case.'

def setUp(self):

    LogCaptureTestCase.setUp(self)
    super(Socket, self).setUp()
    self.server = AsyncServer(self)
    (sock_fd, sock_name) = tempfile.mkstemp('fail2ban.sock', 'socket')
    os.close(sock_fd)
    os.remove(sock_name)
    self.sock_name = sock_name
    self.serverThread = None
