fix: serve legacy route aliases during cutover
This commit is contained in:
parent
8ab1d0c09a
commit
14befd0b50
4 changed files with 57 additions and 2 deletions
|
|
@ -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())
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue