test: add unit tests for summary helpers#159
Conversation
c:\Users\anwes\Downloads\stargraph\.venv\Scripts\Activate.ps1) Signed-off-by: Anwesha-codes-10 <theunemployed73@gmail.com>
e5c7729 to
e132a73
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Thanks for this, @Anwesha-codes-10 — the tests themselves look good. The only thing blocking the merge is the DCO sign-off on your commits. Good news: we just migrated DCO enforcement to the DCO GitHub App (merged in #161), so you no longer have to rewrite history to fix this. Two ways to unblock: Option 1 — rebase onto the latest git fetch origin
git rebase --signoff origin/main
git push --force-with-leaseOption 2 — keep your history, add a remediation commit: push any update to the branch and the Either way, once each commit carries a |
c:\Users\anwes\Downloads\stargraph\.venv\Scripts\Activate.ps1) Signed-off-by: Anwesha-codes-10 <theunemployed73@gmail.com>
Head branch was pushed to by a user without write access
se-jo-ma
left a comment
There was a problem hiding this comment.
It looks like you submitted the file with git diff markings, please choose the diffs you want to keep and recommit.
Summary
Added unit tests for the helper functions in
stargraph.cli._summary.This PR adds isolated tests for
_fmt_duration,_is_default, and_is_artifact_fieldto improve unit test coverage without changing runtime behavior.Changes
_fmt_duration._is_default._is_artifact_field.Testing
uv run pytest tests/unit/cli/test_summary.py -o addopts="" -quv run ruff check tests/unit/cli/test_summary.pyuv run pyrightRelated Issues
Closes #136