'The type of X509Name objects is :py:class:`X509NameType`.'

def test_type(self):

    self.assertIdentical(X509Name, X509NameType)
    self.assertEqual(X509NameType.__name__, 'X509Name')
    self.assertTrue(isinstance(X509NameType, type))
    name = self._x509name()
    self.assertTrue(isinstance(name, X509NameType), ('%r    is    of    type    %r,    should    be    %r' % (name, type(name), X509NameType)))
