':py:class:`X509NameType` instances have attributes for each standard (?)
X509Name field.'

def test_attributes(self):

    name = self._x509name()
    name.commonName = 'foo'
    self.assertEqual(name.commonName, 'foo')
    self.assertEqual(name.CN, 'foo')
    name.CN = 'baz'
    self.assertEqual(name.commonName, 'baz')
    self.assertEqual(name.CN, 'baz')
    name.commonName = 'bar'
    self.assertEqual(name.commonName, 'bar')
    self.assertEqual(name.CN, 'bar')
    name.CN = 'quux'
    self.assertEqual(name.commonName, 'quux')
    self.assertEqual(name.CN, 'quux')
