def testGetSignatureAlgorithmFromSequenceWhenBadOID(self):
    alg = (5, 4, 3, 2, 1)  # fake OID
    self.assertFalse(alg in self.x.SIGNATURE_ALGORITHMS)
    seq = (alg, '')
    self.assertRaises(
        x509.CertificateValueError,
        self.x._GetSignatureAlgorithmFromSequence, seq)
Authorize a user with netflix and return a user id and an
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testGetSignatureAlgorithmFromSequenceWhenBadOID--crossover with--dataset/ETHPy150Open ryszard/python-netflix/netflix/__init__.py/Netflix.authorize