Skip to content

Commit

Permalink
test order
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Apr 29, 2024
1 parent 6f205c0 commit fd01f76
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,33 +82,22 @@ async def test_calibration_move_to_location_implementation(
result = await subject.execute(params=params)
assert result == MoveToMaintenancePositionResult()


decoy.verify(
await ot3_hardware_api.prepare_for_mount_movement(Mount.LEFT),
times=1,
)
decoy.verify(
await ot3_hardware_api.retract(Mount.LEFT),
times=1,
)
decoy.verify(
await ot3_hardware_api.move_to(
mount=Mount.LEFT,
abs_position=Point(x=0, y=110, z=250),
critical_point=CriticalPoint.MOUNT,
),
times=1,
)
decoy.verify(
await ot3_hardware_api.prepare_for_mount_movement(calibrate_mount.to_hw_mount()),
await ot3_hardware_api.move_axes(
position=verify_axes,
),
times=1,
)
decoy.verify(
await ot3_hardware_api.disengage_axes(
list(verify_axes.keys()),
),
times=1,
)


Expand Down

0 comments on commit fd01f76

Please sign in to comment.