Merge branch 'v3-fix-csm-integration-test' into 'v3'
Provide both required arguments to `move_in_image_coordinates` Closes #810 See merge request openflexure/openflexure-microscope-server!634
This commit is contained in:
commit
a18fe8b58d
1 changed files with 8 additions and 2 deletions
|
|
@ -114,8 +114,14 @@ def test_camera_stage_mapping_calibration(simulation_test_env):
|
|||
assert csm.image_to_stage_displacement_matrix is None
|
||||
assert csm.last_calibration is None
|
||||
# And therefore that actions error
|
||||
with pytest.raises(lt.exceptions.FailedToInvokeActionError):
|
||||
csm.move_in_image_coordinates(x=10)
|
||||
with pytest.raises(
|
||||
lt.exceptions.ServerActionError,
|
||||
match=(
|
||||
r"The camera_stage_mapping calibration is not yet available\. "
|
||||
r"This probably means you need to run the calibration routine\."
|
||||
),
|
||||
):
|
||||
csm.move_in_image_coordinates(x=10, y=0)
|
||||
|
||||
# Calibrate
|
||||
csm.calibrate_xy()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue