Commit graph

267 commits

Author SHA1 Message Date
Julian Stirling
8b51a66ae4 Move test_dummy_server out of unit tests and into integration tests. 2026-01-12 16:23:10 +00:00
Julian Stirling
c9ac85bffc Rename the test that fully boots the server to lifecycle_test 2026-01-12 16:23:09 +00:00
Julian Stirling
3db83534e8 Update for how Labthings-Fastapi 0.0.14 impements the fallback server 2026-01-09 17:43:11 +00:00
Julian Stirling
b46f8af8e7 Bump labthings-fastapi to 0.0.14 and fix error types in unit tests 2026-01-09 17:17:24 +00:00
Julian Stirling
e85a1d3080 Final test fixes 2026-01-09 15:18:06 +00:00
Julian Stirling
18e89aa148 More typing fixes 2026-01-09 15:18:05 +00:00
Julian Stirling
2701576a2c Properly type the generic Background Detector class 2026-01-09 15:18:05 +00:00
Julian Stirling
99eee2e912 Fix camera type issues 2026-01-09 15:18:05 +00:00
Julian Stirling
d52548cc13 Improve camera buffer typing 2026-01-09 15:18:04 +00:00
Julian Stirling
4a8b88b34b Fix config path in integration test. Don't use fallback in integration test as it masks failure. 2025-12-19 09:31:45 +00:00
Julian Stirling
765404656a Fix typos when moving hardware test suit to new test env structure 2025-12-18 23:02:04 +00:00
Julian Stirling
782977e01c Move integration tests to tests dir 2025-12-18 17:30:56 +00:00
Julian Stirling
ef9a88104b Move hardware-specific-tests to tests dir 2025-12-18 17:28:05 +00:00
Julian Stirling
4e043f3df2 Move lt_test_utils into a shared testing directory 2025-12-18 17:19:48 +00:00
Julian Stirling
d08d4cd325 Move unit tests to their own sub-dir in tests 2025-12-18 17:08:02 +00:00
Julian Stirling
62b414af3c Update docs and internal names for LabThingsTestEnvironment 2025-12-18 16:43:38 +00:00
Julian Stirling
b70d36c629 Move main test suite to new use new test environment. 2025-12-18 16:26:37 +00:00
Julian Stirling
0d09dc58da Add way to get thing from test environment by type 2025-12-18 16:26:37 +00:00
Julian Stirling
3ea7be6531 Update and simplify smart scan tests 2025-12-17 16:44:54 +00:00
Julian Stirling
be5f9630ca A fond farewell to the last of the InvocationLoggers 2025-12-17 15:52:03 +00:00
Julian Stirling
f6d4b368d0 Update tests for not having cancel hooks 2025-12-17 14:04:37 +00:00
Julian Stirling
8f805c8e68 Add a testing environment/harness for easily running actions without blocking 2025-12-17 14:04:37 +00:00
Julian Stirling
e1dfceb0bd Remove one final invocation logger dep from autofocus 2025-12-17 11:20:41 +00:00
Julian Stirling
5a391bff1c Update ROM tests 2025-12-16 17:27:22 +00:00
Julian Stirling
189e82e8dc Remove deps from autofocus 2025-12-16 17:27:22 +00:00
Julian Stirling
3332bc5e1d Update tests for stage without deps 2025-12-16 14:57:13 +00:00
Julian Stirling
ddc81f9c17 Apply suggestions from code review of branch update-for-labthings0.0.12
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-12-16 13:32:57 +00:00
Julian Stirling
baf0ff9a11 Updating for changes related to NotConnectedToServerErrors 2025-12-15 17:18:30 +00:00
Julian Stirling
f79505546c Final updates for main test suite for labthings-fastapi 0.0.12 compatibility 2025-12-14 22:11:08 +00:00
Julian Stirling
dec90f5b6b Update legacy_api.py test_sangaboard and test_server_cli so tests pass for labthings-fastapi 0.0.12 2025-12-14 20:53:33 +00:00
Julian Stirling
70fc3516e6 Update test_camera and test_dummy_server for labthings-fastapi 0.0.12 2025-12-14 20:04:48 +00:00
Julian Stirling
0c3de60629 Update test_cameras to use create_thing_without_server 2025-12-14 19:46:57 +00:00
Julian Stirling
cfbb7cf7f9 Start fixing tests. This involves further blocking portal changes.
This will need PR 225 of labthings-fastapi to be merged to run.
2025-12-14 19:21:06 +00:00
Julian Stirling
9ef417971f Remove a load more /names/ 2025-12-14 18:23:33 +00:00
Julian Stirling
e7f669cb56 No blocking portals 2025-12-14 18:23:33 +00:00
Julian Stirling
5eea78cac7 update action, property, and setting syntax for labthings-fastapi 0.0.12 2025-12-14 18:23:26 +00:00
Julian Stirling
5375e9578b Update version for alpha 4 release and update changelog 2025-12-08 15:07:14 +00:00
Julian Stirling
7bc4c514a6 Autofix import order 2025-12-02 16:26:15 +00:00
Joe Knapper
99afe89c10 Merge branch 'scanning-stability' into 'v3'
Improve the stability of scanning

Closes #599 and #600

See merge request openflexure/openflexure-microscope-server!434
2025-12-02 15:47:03 +00:00
Julian Stirling
38c596fb49 Merge branch 'Sanga-firmware-check' into 'v3'
Log an error if the sangaboard firmware is below v1.0.4

Closes #623

See merge request openflexure/openflexure-microscope-server!447
2025-12-02 15:14:50 +00:00
Julian Stirling
240b7d1ba5 Use semver library for checking sangaboard firmware version. 2025-12-02 11:55:56 +00:00
Julian Stirling
797dda3514 Add failing unit test for sangaboard version before v1 2025-12-02 11:00:41 +00:00
Julian Stirling
9b58f4d59e Apply suggestions from code review of branch scanning-stability
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-12-02 09:57:25 +00:00
Julian Stirling
2749a1818c Add unit tests for ChannelDeviationLUV background detector 2025-12-02 09:57:25 +00:00
Julian Stirling
e5d2ebbb79 Add tests for checking stack result 2025-12-02 09:57:24 +00:00
Julian Stirling
a15f23bec2 Add unit tests for captureing images in a stack 2025-12-02 09:57:24 +00:00
Julian Stirling
573330dede Add tests for z_stack 2025-12-02 09:57:24 +00:00
Julian Stirling
b9c58b70c9 Looping autofocus errors on failure to find focus. Test looping autofocus algorithm 2025-12-02 09:57:24 +00:00
Julian Stirling
13e065a44d Add test for the outer smart stack algorithm 2025-12-02 09:57:24 +00:00
Julian Stirling
a5d5ba4af8 Update scan planner test pickles 2025-11-28 12:00:35 +00:00