From 5a23c1a3d2d1db2b49d4cf6a6a41607bb5701672 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 2 Dec 2024 17:26:59 -0600 Subject: [PATCH] Correct method name error --- tests/safety/test_toyota.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/safety/test_toyota.py b/tests/safety/test_toyota.py index a809e11251..ec5cd80629 100755 --- a/tests/safety/test_toyota.py +++ b/tests/safety/test_toyota.py @@ -362,7 +362,7 @@ def test_lta_2_steer_cmd(self): should_tx = not req and not req2 and angle == 0 self.assertEqual(should_tx, self._tx(self._lta_2_msg(req, req2, angle)), f"{req=} {req2=} {angle=}") - def _accel_2_msg(self, accel, cancel_req=0): + def _accel_msg_2(self, accel, cancel_req=0): values = {"ACCEL_CMD": accel} return self.packer.make_can_msg_panda("ACC_CONTROL_2", 0, values)