Files
yellow-bank-soal/tests/test_route_wiring.py
2026-04-01 22:16:57 +07:00

12 lines
278 B
Python

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