xiaozhi-esp32-server/main/xiaozhi-server
lapy d51c54f483 fix(tests): make pytest suite runnable from a fresh checkout (CI fix)
PR#2 CI: the Python job failed with 17 FileNotFoundError collection errors.
Widening CI from upstream's smoke-test-only to the full suite exposed that
the suite depends on main/xiaozhi-server/data/.config.yaml, which is
gitignored and therefore absent on CI runners (dev boxes always have it, so
the local rebase gate never caught it).

- add tracked tests/testdata/test-config.yaml (placeholder keys, empty
  manager-api block, same shape as the local stub)
- conftest falls back to it when data/.config.yaml is missing (explicit
  PYTEST_CONFIG_FILE still wins)
- neutralize config.settings/config.logger check_config_file bindings and
  logger's load_config so setup_logging() at module import works without a
  real deployment config; these names are bound at import time via
  manage_api_client -> config.logger, so patching the source modules alone
  was not enough

Verified on a clean clone with py3.10 + full requirements: 58 passed,
5 skipped; lifecycle unittests 11 OK on both clean clone and dev box.
2026-10-13 12:55:55 +01:00
..
config merge: sync upstream main 2026-10-13 (16 commits) 2026-10-13 11:48:47 +01:00
core fix(westernization): translate edge-tts monkey-patch comments from upstream sync 2026-10-13 11:49:38 +01:00
models/snakers4_silero-vad feat(xiaozhi-server): western provider set, English defaults, runtime, and plugins 2026-04-25 17:05:08 +01:00
performance_tester merge: rebase westernization onto upstream main 2026-10-11 2026-10-11 10:18:56 +01:00
plugins_func fix(server): restore merge-lost runtime fixes and western defaults 2026-10-11 18:54:25 +01:00
tests fix(tests): make pytest suite runnable from a fresh checkout (CI fix) 2026-10-13 12:55:55 +01:00
agent-base-prompt.txt fix(server): restore merge-lost runtime fixes and western defaults 2026-10-11 18:54:25 +01:00
app.py chore(westernization): translate remaining Han text across code, UI and docs 2026-10-11 17:58:15 +01:00
config.yaml fix(server): restore merge-lost runtime fixes and western defaults 2026-10-11 18:54:25 +01:00
config_from_api.yaml fix(server): restore merge-lost runtime fixes and western defaults 2026-10-11 18:54:25 +01:00
docker-compose.yml fix: 设备最后连接时间返回 UTC 时间戳,修复时区显示问题 2026-05-27 17:35:10 +08:00
docker-compose_all.yml feat(xiaozhi-server): western provider set, English defaults, runtime, and plugins 2026-04-25 17:05:08 +01:00
mcp_server_settings.json fix(westernization): runtime English surface, voiceprint truth, CI gates 2026-10-11 13:13:07 +01:00
performance_tester.py feat(xiaozhi-server): western provider set, English defaults, runtime, and plugins 2026-04-25 17:05:08 +01:00
pyproject.toml 配 pytest 与 conftest,修模块路径 2026-09-02 22:24:35 +08:00
requirements.txt fix(rebase): send MCP initialize once and align python deps with upstream 2026-10-11 12:45:49 +01:00