mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
Edge TTS 那条要连微软公网,runner 的出口 IP 会被风控挡掉。以前在 CI 命令行上用 -k 排除,看不出排掉了什么。现在给它打 live_api 标记,由 conftest 统一剔除,日志里列出剔的是哪几条。
13 lines
No EOL
339 B
TOML
13 lines
No EOL
339 B
TOML
[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",
|
||
] |