'openForWring should fail with a L{ftp.FileNotFoundError} if you specify
a file in a directory that doesn\'t exist.'

def test_openForWritingInNotExistingDirectory(self):

    self.createDirectory('ned')
    d = self.shell.openForWriting(('ned', 'idonotexist', 'foo'))
    return self.assertFailure(d, ftp.FileNotFoundError)
