feat: complete Phase 6 - Hybrid Coexistence testing, PWA kiosk mode, static SPA mount and Pilot manual (v0.6.0-beta)

This commit is contained in:
Carlos Tello
2026-10-13 15:58:47 -03:00
parent 1ba74f7929
commit a99b928bb5
12 changed files with 450 additions and 10 deletions
+7 -3
View File
@@ -25,6 +25,10 @@ async def test_root_redirects_or_returns_info():
response = await client.get("/")
assert response.status_code == 200
data = response.json()
assert data["app"] == __app_name__
assert data["docs"] == "/docs"
content_type = response.headers.get("content-type", "")
if "application/json" in content_type:
data = response.json()
assert data["app"] == __app_name__
else:
assert "text/html" in content_type
assert len(response.text) > 0