Skip to content

Commit

Permalink
consistent ordering of common user brake test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjhogan committed Oct 15, 2024
1 parent c8ade38 commit 14e00ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/safety/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,8 +950,8 @@ def test_not_allow_user_brake_when_moving(self, _user_brake_msg=None, get_brake_
_user_brake_msg = self._user_brake_msg

# Brake was already pressed
self._rx(_user_brake_msg(1))
self._rx(self._vehicle_moving_msg(self.STANDSTILL_THRESHOLD))
self._rx(_user_brake_msg(1))
self.safety.set_controls_allowed(1)
self._rx(_user_brake_msg(1))
self.assertTrue(self.safety.get_controls_allowed())
Expand Down

0 comments on commit 14e00ca

Please sign in to comment.