coverage omits unittest python files
Bug #2050839 reported by
Samuel Allan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sunbeam Charms |
Fix Committed
|
Undecided
|
Samuel Allan |
Bug Description
coverage should always include unittest files. It's important to include to catch dead code, duplicate named functions, etc. in tests. Test files should be expected to have almost 100% coverage.
Changed in sunbeam-charms: | |
status: | New → Fix Committed |
assignee: | nobody → Samuel Allan (swalladge) |
To post a comment you must log in.
Opened patch: https:/ /review. opendev. org/c/openstack /sunbeam- charms/ +/906336
This uncovered some unused code within test files, so appears to be a win. A follow up can be done to remove all the unused code. :)