forked from vercel/python-typemap
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
Add comprehensive unit tests for all type utilities.
Motivation
Currently, there are no dedicated tests for:
- Type utilities (Pick, Omit, Partial, Required, KeyOf)
- String operations (Uppercase, Lowercase, etc.)
- GetAnnotations/DropAnnotations
Existing tests focus on ORM and FastAPI use cases but don't cover the basic functionality.
Tasks
- Create
tests/test_type_utilities.pyfor Pick, Omit, Partial, Required, KeyOf - Create
tests/test_string_operations.pyfor string type operations - Add tests for GetAnnotations/DropAnnotations
- Ensure all new tests pass
Acceptance criteria
- Tests for all type utilities
- Tests cover edge cases
- All tests pass
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels