Skip to content

Commit

Permalink
fix state service unittest bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpdx committed Jan 10, 2024
1 parent efe879d commit 09ed7c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/services/test_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ def test_standby(self):
self.service._vbatt_bp1_obj.value = StateService.BAT_LEVEL_LOW - 1
self.service._vbatt_bp2_obj.value = StateService.BAT_LEVEL_LOW - 1
self.node._reset = NodeStop.SOFT_RESET
self.service._last_edl_obj.value = 0

# test STANDBY -> STANDBY; battery level is too low for deployment and tx disabled
self.service._standby()
Expand Down

0 comments on commit 09ed7c7

Please sign in to comment.