'removeDirectory should not work in file and fail with a
C{ftp.IsNotADirectoryError}.'

def test_removeDirectoryOnFile(self):

    self.createFile('file.txt')
    d = self.shell.removeDirectory(('file.txt',))
    return self.assertFailure(d, ftp.IsNotADirectoryError)
