better name

revert refs
pull/29712/head
Shane Smiskol 2 years ago
parent cf8087fd3d
commit ff083880fe
  1. 28
      selfdrive/car/tests/test_fw_fingerprint.py

@ -218,7 +218,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
def test_startup_timing(self): def test_startup_timing(self):
# Tests worse-case VIN query time and typical present ECU query time # Tests worse-case VIN query time and typical present ECU query time
vin_ref_time = 1.0 vin_ref_time = 1.0
present_ecu_ref_time = 0.8 present_ecu_ref_time = 0.82
fake_socket = FakeSocket() fake_socket = FakeSocket()
present_ecu_time = 0.0 present_ecu_time = 0.0
@ -238,24 +238,24 @@ class TestFwFingerprintTiming(unittest.TestCase):
@pytest.mark.timeout(60) @pytest.mark.timeout(60)
def test_fw_query_timing(self): def test_fw_query_timing(self):
total_ref_time = 5.97 total_ref_time = 6.58
brand_ref_times = { brand_ref_times = {
1: { 1: {
'body': 0.12, 'body': 0.11,
'chrysler': 0.32, 'chrysler': 0.3,
'ford': 0.22, 'ford': 0.22,
'honda': 0.53, 'honda': 0.52,
'hyundai': 0.73, 'hyundai': 0.72,
'mazda': 0.22, 'mazda': 0.2,
'nissan': 0.42, 'nissan': 0.4,
'subaru': 0.53, 'subaru': 0.52,
'tesla': 0.22, 'tesla': 0.2,
'toyota': 1.62, 'toyota': 1.6,
'volkswagen': 0.22, 'volkswagen': 0.2,
}, },
2: { 2: {
'ford': 0.32, 'ford': 0.3,
'hyundai': 1.13, 'hyundai': 1.12,
} }
} }

Loading…
Cancel
Save