Set router prefix in llm_routes_test.py

Added the '/admin/llm' prefix to the included router in the test setup to match the expected route structure.
This commit is contained in:
Bentlybro
2026-01-19 14:16:08 +00:00
parent 358a21c6fc
commit 8f5d851908

View File

@@ -10,7 +10,7 @@ from pytest_snapshot.plugin import Snapshot
import backend.api.features.admin.llm_routes as llm_routes
app = fastapi.FastAPI()
app.include_router(llm_routes.router)
app.include_router(llm_routes.router, prefix="/admin/llm")
client = fastapi.testclient.TestClient(app)