'Test that we can create a directory locally and remove it with the
cftp client. This test works because the \'remote\' server is running
out of a local directory.'

def testLocalDirectory(self):

    d = self.runCommand(('lmkdir    %s/testLocalDirectory' % (self.testDir.path,)))
    d.addCallback(self.assertEqual, '')
    d.addCallback((lambda _: self.runCommand('rmdir    testLocalDirectory')))
    d.addCallback(self.assertEqual, '')
    return d
