'C{errno.EACCES} should be translated to L{ftp.PermissionDeniedError}.'

def test_accessDenied(self):

    d = ftp.errnoToFailure(errno.EACCES, 'foo')
    return self.assertFailure(d, ftp.PermissionDeniedError)
