test(webui): add unit tests for ConfigSchemaGenerator

- Test field descriptions from field_docs
- Test json_schema_extra merging
- Test Pydantic constraints mapping
- Test nested model schema handling
- Test fields without extra metadata

All 5 tests passing. Completes Task 7 of webui-config-visualization-refactor plan.
This commit is contained in:
DrSmoothl
2026-02-17 17:14:48 +08:00
parent 2962a95341
commit 4e5d091417
3 changed files with 84 additions and 0 deletions

View File