- changed status to open
coverage.xml produces package names with an extra 'src.' prefix
Issue #465
resolved
I've an app that uses one of the two standard source layouts: all source code lives inside the src
subdirectory. The coverage.xml produced by coverage.py incorrectly thinks the package name is src.mypackage
rather than just mypackage
.
Steps to reproduce
git clone https://github.com/mgedmin/restview cd restview tox -e coverage coverage xml grep package.*name coverage.xml
Expected result
<package branch-rate="0" complexity="0" line-rate="1" name="restview">
Actual result
<package branch-rate="0" complexity="0" line-rate="1" name="src.restview">
Comments (5)
-
-
- changed status to resolved
-
Are you sure you linked to the right commit?
-
Sorry, I linked to the last of the four or five commits that fixed it.... This was the main work: 77bb944d9b099c42e2d4acbee51774510c6f30a8
-
Thank you!
- Log in to comment