Skip to content

Add tests for coverage#158

Merged
bckohan merged 2 commits intomainfrom
coverage
Mar 5, 2026
Merged

Add tests for coverage#158
bckohan merged 2 commits intomainfrom
coverage

Conversation

@bckohan
Copy link
Owner

@bckohan bckohan commented Mar 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 5, 2026 07:02
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e88b45e) to head (cce8df3).

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #158      +/-   ##
===========================================
+ Coverage   99.22%   100.00%   +0.77%     
===========================================
  Files           1         1              
  Lines         385       385              
  Branches       84        84              
===========================================
+ Hits          382       385       +3     
+ Misses          1         0       -1     
+ Partials        2         0       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds targeted unit tests to improve branch coverage around EnumProperties’ functional API input parsing and annotation-driven property handling.

Changes:

  • Add a functional-API test covering names provided as an empty generator with properties=....
  • Add an annotations test ensuring a plain (non-symmetric) name: ... annotation is ignored for property creation and does not alter default name-based lookup behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/test_functional.py Adds coverage for the non-sequence iterable (generator) empty-names path in the functional API with properties.
tests/annotations/test.py Adds coverage for the annotation path where name is annotated without Symmetric, ensuring it’s ignored for property creation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bckohan bckohan merged commit 02cd41a into main Mar 5, 2026
29 of 30 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.

3 participants