'openForWriting should not be able to open a directory that already
exists.'

def test_openForWritingExistingDirectory(self):

    self.createDirectory('ned')
    d = self.shell.openForWriting(('ned',))
    return self.assertFailure(d, ftp.IsADirectoryError)
