def testCheckValidityWhenTooOld(self):
    self.x._cert['valid_notafter'] = 10
    self.x._cert['valid_notbefore'] = 5

    self.mox.ReplayAll()
    self.assertRaises(
        x509.CertificateError,
        self.x.CheckValidity,
        2)
    self.mox.VerifyAll()
If `value` is a string type, attempts to convert it to a boolean
dataset/ETHPy150Open google/simian/src/tests/simian/auth/x509_test.py/X509CertificateTest.testCheckValidityWhenTooOld--crossover with--dataset/ETHPy150Open sontek/pyramid_webassets/pyramid_webassets/__init__.py/maybebool