'Create a FTP client and connect it to fake transport.'

def setUp(self):

    self.client = ftp.FTPClient()
    self.transport = proto_helpers.StringTransportWithDisconnection()
    self.client.makeConnection(self.transport)
    self.transport.protocol = self.client
