Skip to content

Comments

Add unit tests for zconst and print test coverage in gh-action#318

Merged
sveinse merged 4 commits intocustom-components:masterfrom
steinmn:test-zconst
Sep 3, 2025
Merged

Add unit tests for zconst and print test coverage in gh-action#318
sveinse merged 4 commits intocustom-components:masterfrom
steinmn:test-zconst

Conversation

@steinmn
Copy link
Contributor

@steinmn steinmn commented Sep 2, 2025

(bonus: tests caught a typo in zconst.py)

(bonus: tests caught a typo in zconst.py)
Copy link
Collaborator

@sveinse sveinse left a comment

Choose a reason for hiding this comment

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

Generally this looks good. Some comments to discuss.

Ensures init_zconst is run before every test, but we only call the Zaptec API once.
@steinmn steinmn requested a review from sveinse September 3, 2025 16:59
@sveinse sveinse merged commit 86ba11b into custom-components:master Sep 3, 2025
6 checks passed
@steinmn steinmn deleted the test-zconst branch September 3, 2025 19:30
@sveinse sveinse added this to the v0.8.3 milestone Sep 21, 2025
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