def testAssembleDNSequence(self):
    value = (
      ((x509.OID_ID['CN'], 'foo'),),
      ((x509.OID_ID['OU'], 'bar'),),
    )
    self.mox.StubOutWithMock(self.x, '_AttributeValueToString')
    self.x._AttributeValueToString('foo').AndReturn('foo')
    self.x._AttributeValueToString('bar').AndReturn('bar')
    self.mox.ReplayAll()
    self.assertEqual(self.x._AssembleDNSequence(value), 'CN=foo,OU=bar')
    self.mox.VerifyAll()
Returns version information.
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testAssembleDNSequence--crossover with--dataset/ETHPy150Open wtolson/gnsq/gnsq/lookupd.py/Lookupd.info