Toyota: LTA unit test (#30613)

LTA unit test
old-commit-hash: 67d6186bbd5b19269162453a6028cabd6a2fabfc
This commit is contained in:
Shane Smiskol
2023-12-05 21:24:28 -06:00
committed by GitHub
parent 817161f3ac
commit 8dd6c7d4b1
@@ -17,6 +17,10 @@ class TestToyotaInterfaces(unittest.TestCase):
self.assertTrue(len(ANGLE_CONTROL_CAR - TSS2_CAR) == 0)
self.assertTrue(len(RADAR_ACC_CAR - TSS2_CAR) == 0)
def test_lta_platforms(self):
# At this time, only RAV4 2023 is expected to use LTA/angle control
self.assertEqual(ANGLE_CONTROL_CAR, {CAR.RAV4_TSS2_2023})
def test_tss2_dbc(self):
# We make some assumptions about TSS2 platforms,
# like looking up certain signals only in this DBC