fix: serve legacy route aliases during cutover
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / pytest-smoke (push) Failing after 2s

This commit is contained in:
tegwick 2026-08-21 17:45:25 +02:00
parent 8ab1d0c09a
commit 14befd0b50
4 changed files with 57 additions and 2 deletions

View file

@ -62,6 +62,10 @@ def test_system_compatibility_and_protected_auth(tmp_path) -> None:
document = client.get("/api/v2/openapi.json").json()
assert "/api/v2/hubs" in document["paths"]
assert "/hubs" in document["paths"]
assert client.get("/widget-types").status_code == 200
assert client.get("/hubs").status_code == 401
assert client.get("/hubs", headers=HEADERS).status_code == 200
assert client.get("/console", headers=HEADERS).status_code == 200
asyncio.run(store.aclose())