def testGetV3ExtensionFieldsFromSequenceWhenOIDKeyUsageBadParse(self):
    e_key_usage = univ.OctetString('e_key_usage')
    d_key_usage = ((1, 0, 1),)

    seq = (
      ('junk', ('value', 'value')),
      (x509.OID_X509V3_KEY_USAGE, e_key_usage),
    )

    self.mox.ReplayAll()
    self.assertRaises(
        x509.CertificateParseError,
        self.x._GetV3ExtensionFieldsFromSequence,
        seq)
    self.mox.VerifyAll()
Get a cached value for the specified date range and query
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testGetV3ExtensionFieldsFromSequenceWhenOIDKeyUsageBadParse--crossover with--dataset/ETHPy150Open chriso/gauged/gauged/drivers/mysql.py/MySQLDriver.get_cache