Update for how Labthings-Fastapi 0.0.14 impements the fallback server

This commit is contained in:
Julian Stirling 2026-01-09 17:17:52 +00:00
parent b46f8af8e7
commit 3db83534e8
2 changed files with 18 additions and 5 deletions

View file

@ -102,4 +102,4 @@ def test_failed_customise(mocker):
# Check it really is a fastapi
assert isinstance(fallback_app, FastAPI)
# An that it has the error to display
assert str(fallback_app.labthings_error) == "Can't touch this"
assert str(fallback_app._context.error) == "Can't touch this"