The integration test checks that moving in image coordinates fails before the CSM thing is calibrated. Unfortunately, it is missing the `y` argument, so it would fail either way. This commit supplies the extra argument so that the failure should come from the right place. It also changes the expected error to `ServerActionError` and adds a check for the message, to verify it is due to missing calibration data. A future version of the LabThings Client (#89) may raise a different error if a required argument is missing, so fixing this will ensure that upstream change doesn't break anything here. |
||
|---|---|---|
| .. | ||
| hardware_specific_tests | ||
| integration_tests | ||
| lifecycle_test | ||
| shared_utils | ||
| unit_tests | ||
| __init__.py | ||
| conftest.py | ||