def testGetSignatureAlgorithmFromSequenceWhenJunk(self):
    seq = True
    self.assertRaises(
        x509.CertificateParseError,
        self.x._GetSignatureAlgorithmFromSequence, seq)
Test _GetSignatureAlgorithmFromSequence().
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testGetSignatureAlgorithmFromSequenceWhenJunk