      codes = get_platform_codes([b'\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         '])
      self.assertEqual(codes, {b"CV1"})
  
      codes = get_platform_codes([
        b'\xf1\x00DH LKAS 1.1 -150210',
        b'\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         ',
        b'\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         ',
      ])
      self.assertEqual(codes, {b"DH-1502", b"AEhe", b"CV1"})
  
      # Returned platform codes must inclusively contain start/end dates
      codes = get_platform_codes([
 
</s> remove     codes = get_platform_codes([b'\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         '])
 </s> add     codes = get_platform_codes([b"\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         "]) </s> remove     codes = get_platform_codes([b'\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         '])
 </s> add     codes = get_platform_codes([b"\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         "]) </s> remove       b'\xf1\x00LX2 MFC  AT USA LHD 1.00 1.07 99211-S8100 220222',
      b'\xf1\x00LX2 MFC  AT USA LHD 1.00 1.08 99211-S8100 211103',
      b'\xf1\x00ON  MFC  AT USA LHD 1.00 1.01 99211-S9100 190405',
      b'\xf1\x00ON  MFC  AT USA LHD 1.00 1.03 99211-S9100 190720',
 </s> add       b"\xf1\x00LX2 MFC  AT USA LHD 1.00 1.07 99211-S8100 220222",
      b"\xf1\x00LX2 MFC  AT USA LHD 1.00 1.08 99211-S8100 211103",
      b"\xf1\x00ON  MFC  AT USA LHD 1.00 1.01 99211-S9100 190405",
      b"\xf1\x00ON  MFC  AT USA LHD 1.00 1.03 99211-S9100 190720", </s> remove     codes = get_platform_codes([b'\xf1\x00DH LKAS 1.1 -150210'])
 </s> add     codes = get_platform_codes([b"\xf1\x00DH LKAS 1.1 -150210"]) </s> remove   def test_platform_codes_all_parsable(self):
    # Assert every supported ECU FW version returns one platform code
    for fw_by_addr in FW_VERSIONS.values():
      for addr, fws in fw_by_addr.items():
        if addr[0] in PLATFORM_CODE_ECUS:
          for f in fws:
            self.assertEqual(1, len(get_platform_codes([f])), f"Unable to parse FW: {f}")
 </s> add           # Hyundai places the ECU part number in their FW versions, assert all parsable
          # Some examples of valid formats: b"56310-L0010", b"56310L0010", b"56310/M6300"
          for fw in fws:
            match = PART_NUMBER_FW_PATTERN.search(fw)
            self.assertIsNotNone(match, fw)
      b"\xf1\x00DH LKAS 1.1 -150210",
      b"\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         ",
      b"\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         ",
      codes = get_platform_codes([b'\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         '])
      self.assertEqual(codes, {b"CV1"})
  
      codes = get_platform_codes([
      b"\xf1\x00DH LKAS 1.1 -150210",
      b"\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         ",
      b"\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         ",
      b"\xf1\x00DH LKAS 1.1 -150210",
      b"\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         ",
      b"\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         ",
      b"\xf1\x00DH LKAS 1.1 -150210",
      b"\xf1\x00AEhe SCC H-CUP      1.01 1.01 96400-G2000         ",
      b"\xf1\x00CV1_ RDR -----      1.00 1.01 99110-CV000         ",
      ])
      self.assertEqual(codes, {b"DH-1502", b"AEhe", b"CV1"})
  
      # Returned platform codes must inclusively contain start/end dates
      codes = get_platform_codes([
keep keep keep keep replace replace replace keep keep keep keep keep
 Hyundai FPv2 unit tests: clean up (#28542)

* be consistent with quotes

* combine tests

* cmt 
selfdrive/car/hyundai/tests/test_hyundai.py