From 5d2fc14a24e0510cc0d7e293643f979ab6f523da Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sun, 31 Aug 2025 01:24:13 -0400 Subject: [PATCH] always reset state --- .../speed_limit_controller/tests/test_speed_limit_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sunnypilot/selfdrive/controls/lib/speed_limit_controller/tests/test_speed_limit_controller.py b/sunnypilot/selfdrive/controls/lib/speed_limit_controller/tests/test_speed_limit_controller.py index d0b7414550..679029c69a 100644 --- a/sunnypilot/selfdrive/controls/lib/speed_limit_controller/tests/test_speed_limit_controller.py +++ b/sunnypilot/selfdrive/controls/lib/speed_limit_controller/tests/test_speed_limit_controller.py @@ -32,6 +32,7 @@ class TestSpeedLimitController: return CI def reset_state(self): + self.slc.state = SpeedLimitControlState.inactive self.slc.frame = -1 def setup_method(self):