Expose adaptive session next-item routes
This commit is contained in:
11
tests/test_route_wiring.py
Normal file
11
tests/test_route_wiring.py
Normal 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
|
||||
Reference in New Issue
Block a user