def test_parse_asn1_date(self):
     expected = datetime(year=2017,
                         month=4,
                         day=24,
                         hour=16,
                         minute=37,
                         second=20,
                         tzinfo=tz.tzutc())
     self.assertEqual(_asn1_to_iso8601("20170424163720Z"), expected)
 def test_parse_asn1_date(self):
     expected = datetime(year=2017,
                         month=4,
                         day=24,
                         hour=16,
                         minute=37,
                         second=20,
                         tzinfo=tz.tzutc())
     self.assertEqual(_asn1_to_iso8601("20170424163720Z"), expected)