test_car_interface: run CC once (#32449)

run once
This commit is contained in:
Shane Smiskol
2024-05-16 15:41:20 -07:00
committed by GitHub
parent b8171a1e9c
commit 593ea504e7

View File

@@ -93,7 +93,6 @@ class TestCarInterfaces(unittest.TestCase):
for _ in range(10):
car_interface.update(CC, [])
car_interface.apply(CC, now_nanos)
car_interface.apply(CC, now_nanos)
now_nanos += DT_CTRL * 1e9 # 10 ms
CC = car.CarControl.new_message(**cc_msg)
@@ -101,7 +100,6 @@ class TestCarInterfaces(unittest.TestCase):
for _ in range(10):
car_interface.update(CC, [])
car_interface.apply(CC, now_nanos)
car_interface.apply(CC, now_nanos)
now_nanos += DT_CTRL * 1e9 # 10ms
# Test controller initialization