-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase test coverage #503
Conversation
Codecov Report
@@ Coverage Diff @@
## main #503 +/- ##
==========================================
+ Coverage 95.54% 95.65% +0.10%
==========================================
Files 71 71
Lines 10008 9979 -29
==========================================
- Hits 9562 9545 -17
+ Misses 446 434 -12
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of comments that are more like questions, but I'm happy merging this as-is.
This subtracts from coverage, and it's not much of a time saver: `python tests/extensions/test_version.py` isn't much less typing than `python -m unittest tests/extensions/test_version.py`.
`if not is_valid` can't happen, because `is_valid = not is_absolute_href(asset.href)` and the condition above that line is `if not is_absolute_href(asset.href):`. Conversely, since `is_valid` is always `True` there is no point in `self.assertTrue(is_valid)`.
Presumably versions < 0.8 are no longer supported.
e5abc06
to
de29122
Compare
Related Issue(s): #331
Description:
PR Checklist:
pre-commit run --all-files
)scripts/test
)