Skip to content

Commit

Permalink
ot3controller test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Nov 20, 2024
1 parent d66b41b commit 1ec9566
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ async def test_home_execute(
**config
) as mock_runner:
present_axes = set(ax for ax in axes if controller.axis_is_present(ax))
controller.set_pressure_sensor_available(Axis.P_L, True)
controller.set_pressure_sensor_available(Axis.P_R, True)

# nothing has been homed
assert not controller._motor_status
Expand Down Expand Up @@ -485,6 +487,8 @@ async def test_home_only_present_devices(
homed_position = {}

controller._position = starting_position
controller.set_pressure_sensor_available(Axis.P_L, True)
controller.set_pressure_sensor_available(Axis.P_R, True)

mock_move_group_run.side_effect = move_group_run_side_effect_home(controller, axes)

Expand Down

0 comments on commit 1ec9566

Please sign in to comment.