xiaozhi-esp32-server/main/xiaozhi-server/pyproject.toml
hrz aff47ee6de 要真凭据的用例打标记统一剔除
Edge TTS 那条要连微软公网,runner 的出口 IP 会被风控挡掉。以前在 CI 命令行上用 -k 排除,看不出排掉了什么。现在给它打 live_api 标记,由 conftest 统一剔除,日志里列出剔的是哪几条。
2026-10-24 07:27:15 +00:00

13 lines
No EOL
339 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-ra"
markers = [
"live_api: 需要真凭据或真网络的用例,mock 模式下由 conftest 剔除并列出",
]
filterwarnings = [
"ignore::DeprecationWarning",
]