Add tests for constants and sequence utilities - #47
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds comprehensive test coverage for constants and sequence utility functions in pyunitwizard. The tests verify error handling, parameter variations, and ensure proper functionality across different value types and configurations.
Key changes:
- Add complete test suite for constants module including synonym resolution and error handling
- Extend sequence concatenation tests to cover different value types and nested sequences
- Add numpy.repeat utility tests with parameter validation
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| tests/test_constants.py | New comprehensive test suite for constants module with fixtures and error handling |
| tests/utils/sequences/test_concatenate.py | Extended tests for sequence concatenation with value type parameters and nested sequences |
| tests/utils/numpy/test_repeat.py | Added tests for numpy.repeat utility with value type validation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@codex solve this CI issue |
|
@codex are you trying to solve this CI issue? |
|
Summary
Testing
|
|
Summary
Testing
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Handle optional library configuration in parse tests
Summary
Testing
https://chatgpt.com/codex/tasks/task_e_68d5c7d7ce688326a22b05ffd9ca6ab3