':py:obj:`X509Type.has_expired` returns :py:obj:`False` if the certificate\'s not-after
time is in the future.'

def test_has_not_expired(self):

    cert = X509()
    cert.gmtime_adj_notAfter(2)
    self.assertFalse(cert.has_expired())
