diff --git a/tests/safety/test_nissan.py b/tests/safety/test_nissan.py index cae264dd9f4fab..9d4145699887a3 100644 --- a/tests/safety/test_nissan.py +++ b/tests/safety/test_nissan.py @@ -11,6 +11,8 @@ ANGLE_DELTA_V = [5., .8, .15] # windup limit ANGLE_DELTA_VU = [5., 3.5, 0.4] # unwind limit +TX_MSGS = [[0x169, 0], [0x20b, 2]] + def twos_comp(val, bits): if val >= 0: return val @@ -86,6 +88,9 @@ def _acc_button_cmd(self, buttons): return to_send + def test_spam_can_buses(self): + StdTest.test_spam_can_buses(self, TX_MSGS) + def test_angle_cmd_when_enabled(self): # when controls are allowed, angle cmd rate limit is enforced