test_models: update relay malfunction check (#34999)

relay is checked in fwd hook
This commit is contained in:
Shane Smiskol
2025-04-08 21:11:24 -07:00
committed by GitHub
parent 4c7d29b907
commit 2cd0079abe
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -240,6 +240,7 @@ class TestCarModelBase(unittest.TestCase):
continue
to_send = libsafety_py.make_CANPacket(msg.address, msg.src % 4, msg.dat)
self.safety.safety_fwd_hook(msg.src, msg.address)
if self.safety.safety_rx_hook(to_send) != 1:
failed_addrs[hex(msg.address)] += 1