Expose adaptive session next-item routes

This commit is contained in:
dwindown
2026-04-01 22:16:57 +07:00
parent ccd0ffb8e9
commit 6ccfef2af2
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
from pathlib import Path
import sys
sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
from app.main import app
def test_next_item_route_is_registered():
paths = {route.path for route in app.routes}
assert "/api/v1/session/{session_id}/next_item" in paths