feat(api): standardize REST contracts and auth
This commit is contained in:
@@ -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)"""
|
||||
# 提取测试文件名(无扩展名)
|
||||
|
||||
Reference in New Issue
Block a user