'Attempting to set any attribute name on an :py:class:`X509NameType` instance for
which no corresponding NID is defined causes :py:exc:`AttributeError` to be
raised.'

def test_setInvalidAttribute(self):

    name = self._x509name()
    self.assertRaises(AttributeError, setattr, name, 'no    such    thing', None)
