feat(api): standardize REST contracts and auth

This commit is contained in:
2026-07-30 20:38:51 +08:00
parent 9bff6a556a
commit 91f25c8747
77 changed files with 54018 additions and 658 deletions
+6
View File
@@ -13,6 +13,12 @@ PROJECT_ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(PROJECT_ROOT))
@pytest.fixture
def anyio_backend():
"""The delivery test environment supports asyncio, not the optional Trio backend."""
return "asyncio"
def run_this_test(test_file):
"""自定义函数:运行单个测试文件(类似pytest)"""
# 提取测试文件名(无扩展名)