def test_makeDirectory(self):
        """
        Create a directory and check it ends in the filesystem.
        """
        d = self.shell.makeDirectory(('foo',))
        def cb(result):
            self.assertTrue(self.directoryExists('foo'))
        return d.addCallback(cb)

        Create a directory and check it ends in the filesystem.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_ftp.py