Files
DjangoAdmin_FastAPI_NaiveVue/tests/contract/test_routes_snapshot.py
T
2026-09-12 18:24:41 +08:00

11 lines
277 B
Python

"""路由契约快照:守护全部 API 路径与 HTTP 方法不变。"""
import pytest
from tests.contract.helpers import collect_routes, compare_snapshot
pytestmark = pytest.mark.contract
def test_routes_snapshot():
compare_snapshot("routes.json", collect_routes())