Update for how Labthings-Fastapi 0.0.14 impements the fallback server
This commit is contained in:
parent
b46f8af8e7
commit
3db83534e8
2 changed files with 18 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue