def k64pack(): return cmsis_pack.CmsisPack(K64F_PACK_PATH)
def test_zipfile(self): z = zipfile.ZipFile(K64F_PACK_PATH, 'r') p = cmsis_pack.CmsisPack(z) pns = [x.part_number for x in p.devices] assert "MK64FN1M0xxx12" in pns