':py:func:`repr` passed an :py:class:`X509NameType` instance should return a string
containing a description of the type and the NIDs which have been set
on it.'

def test_repr(self):

    name = self._x509name(commonName='foo', emailAddress='bar')
    self.assertEqual(repr(name), "<X509Name    object    '/emailAddress=bar/CN=foo'>")
