Studio: add html_preview_router to test_desktop_auth.py router stub
CI Backend job failed across Python 3.10-3.13 because test_health_response_reports_desktop_capability_fields monkeypatches `sys.modules['routes']` with a SimpleNamespace stub, and the stub list was missing html_preview_router. studio.backend.main's import `from routes import (..., html_preview_router, ...)` then aborted with 'cannot import name html_preview_router'.
This commit is contained in:
parent
efda0b0c4c
commit
a2e45910e4
1 changed files with 1 additions and 0 deletions
|
|
@ -435,6 +435,7 @@ def test_health_response_reports_desktop_capability_fields(monkeypatch):
|
|||
data_recipe_router = APIRouter(),
|
||||
datasets_router = APIRouter(),
|
||||
export_router = APIRouter(),
|
||||
html_preview_router = APIRouter(),
|
||||
inference_router = APIRouter(),
|
||||
inference_studio_router = APIRouter(),
|
||||
models_router = APIRouter(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue