From 55cae021bcba20bb0022f78e1307ded886fc07e7 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 21 Aug 2024 00:54:22 -0700 Subject: [PATCH] can reduce --- opendbc/car/tests/test_fw_fingerprint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc/car/tests/test_fw_fingerprint.py b/opendbc/car/tests/test_fw_fingerprint.py index aabdaa4ce6..1fdaecc37a 100644 --- a/opendbc/car/tests/test_fw_fingerprint.py +++ b/opendbc/car/tests/test_fw_fingerprint.py @@ -78,7 +78,7 @@ def test_fuzzy_match_ecu_count(self, brand, car_model, ecus): fw = [] for ecu in valid_ecus: ecu_name, addr, sub_addr = ecu - for _ in range(5): + for _ in range(3): # Add multiple FW versions to simulate ECU returning to multiple queries in a brand fw.append(CarFw(ecu=ecu_name, fwVersion=random.choice(ecus[ecu]), brand=brand, address=addr, subAddress=0 if sub_addr is None else sub_addr))