        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',
      ])
      self.assertEqual(codes, {b'LX2-2111', b'LX2-2112', b'LX2-2201', b'LX2-2202',
                               b'ON-1904', b'ON-1905', b'ON-1906', b'ON-1907'})
  
  
  if __name__ == "__main__":
    unittest.main()
 
</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       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         ',
 </s> add       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         ", </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   def test_fw_part_numbers(self):
    # Hyundai places the ECU part number in their FW versions, assert all parsable
    # Some examples of valid formats: '56310-L0010', '56310L0010', '56310/M6300'
    for car_model, ecus in FW_VERSIONS.items():
      with self.subTest(car_model=car_model):
        if car_model == CAR.HYUNDAI_GENESIS:
          raise unittest.SkipTest("No part numbers for car model")

        for ecu, fws in ecus.items():
          if ecu[0] not in PLATFORM_CODE_ECUS:
            continue

          for fw in fws:
            match = PART_NUMBER_FW_PATTERN.search(fw)
            self.assertIsNotNone(match, fw)
 </s> add   def test_fw_format(self):
    # Asserts:
    # - every supported ECU FW version returns one platform code
    # - every supported ECU FW version has a part number
    # - expected parsing of ECU FW dates
    self.assertEqual(codes, {b"LX2-2111", b"LX2-2112", b"LX2-2201", b"LX2-2202",
                             b"ON-1904", b"ON-1905", b"ON-1906", b"ON-1907"})
        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',
      ])
    self.assertEqual(codes, {b"LX2-2111", b"LX2-2112", b"LX2-2201", b"LX2-2202",
                             b"ON-1904", b"ON-1905", b"ON-1906", b"ON-1907"})
    self.assertEqual(codes, {b"LX2-2111", b"LX2-2112", b"LX2-2201", b"LX2-2202",
                             b"ON-1904", b"ON-1905", b"ON-1906", b"ON-1907"})
  
  
  if __name__ == "__main__":
    unittest.main()
keep keep keep keep replace replace 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