test_car_interface: run CC once (#32449)

run once
old-commit-hash: 593ea504e7
pull/32199/head
Shane Smiskol 11 months ago committed by GitHub
parent 2cb58bbe35
commit 860283c4cb
  1. 2
      selfdrive/car/tests/test_car_interfaces.py

@ -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

Loading…
Cancel
Save