Skip to content

test: cover CLI config helper mappings#270

Merged
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:test/cli-config-helper-coverage
Apr 2, 2026
Merged

test: cover CLI config helper mappings#270
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:test/cli-config-helper-coverage

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

  • add direct unit coverage for _build_cli_overrides()
  • verify the shared CLI override mapping only includes non-None values and lands in the expected nested config sections
  • add focused coverage for _cfg_to_memsearch_kwargs() so the resolved config -> MemSearch(...) bridge stays stable

Testing

  • uv run python -m pytest tests/test_cli_config_helpers.py -q
  • uv run ruff check tests/test_cli_config_helpers.py
  • uv run ruff format --check tests/test_cli_config_helpers.py

Closes #114

@zc277584121 zc277584121 merged commit 553eb63 into zilliztech:main Apr 2, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: improve test coverage across the project

2 participants