test_car_interface: run CC once (#32449)

run once
pull/32450/head
Shane Smiskol 11 months ago committed by GitHub
parent b8171a1e9c
commit 593ea504e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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