':py:obj:`X509Type.get_notAfter` returns a string in the format of an ASN1
GENERALIZEDTIME even for certificates which store it as UTCTIME
internally.'

def test_get_notAfter(self):

    cert = load_certificate(FILETYPE_PEM, self.pemData)
    self.assertEqual(cert.get_notAfter(), b('20170611123658Z'))
