nose-devs/nose — Issue #73: Patch: Allow coverage plugin to accept "--cover-package=mod1,mod2"
Author: jpellerin
Created: 2011-12-14 15:58:07+00:00
State: closed

I am using the trunk of nose (0.10). I noticed that the --cover-packages
option of the coverage plugin seems to have a bug. When called with
--cover-package="mod1,mod2", the code in Coverage.configure does not
correctly turn this into ["mod1","mod2"]. It seems that this is the
desired behavior, but because of the way tolist() is implemented the code
is never run to extract the comma-separated modules since optparse
automatically puts all cover_package items into a list to begin with.

I have included a patch that seems to fix this bug.

Google Code Info:
Issue #: 117
Author: abierb...@gmail.com
Created On: 2007-10-18T21:02:19.000Z
Closed On: 2007-11-07T15:46:01.000Z