Skip to content

test: cover config key validation branches#280

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

test: cover config key validation branches#280
zc277584121 merged 1 commit intozilliztech:mainfrom
haosenwang1018:test/config-key-validation-coverage

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Summary

  • add coverage for set_config_value(..., project=True) writing to the project-scoped config file
  • cover malformed dotted keys, unknown sections, and unknown field validation errors
  • keep the coverage focused on config.py validation branches called out by issue test: improve test coverage across the project #114

Testing

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

Refs #114

@zc277584121 zc277584121 merged commit fe4b67d 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.

2 participants