def test_lower_case_primary_returns_true(self): tag = Tag.from_str("tp:A:p") record = PafRecord(strand=Strand.Forward, tags={tag.tag: tag}) assert record.is_primary()
def test_unmapped_record(self): record = PafRecord() assert not record.is_primary()