Skip to content

Commit

Permalink
fixed trailing whitespace in test_SMACH.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ShubhamGawande191 committed Dec 20, 2023
1 parent 7deb8e9 commit 52dc496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_SMACH.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_monitor_battery_and_collision(self, mock_execute):
laser_msg.ranges = [0.4, 0.3, 0.2]
monitor_state.scan_callback(laser_msg)
self.assertEqual(mock_execute(None), 'collision_detected')

def test_rotate_base(self):
rotate_state = RotateBase(self.node)
rotate_state.cmd_vel_pub = MagicMock() # Mock the publisher
Expand Down

0 comments on commit 52dc496

Please sign in to comment.