summaryrefslogtreecommitdiff
path: root/coverage/testplugin.py
diff options
context:
space:
mode:
authorDavid Stanek <dstanek@dstanek.com>2010-05-21 23:40:04 -0400
committerDavid Stanek <dstanek@dstanek.com>2010-05-21 23:40:04 -0400
commit400fdb2fd299d7b8bb713cd445a9a5485242163c (patch)
tree90c56c87c9df8e54011ddc3a136c2ce89add65f8 /coverage/testplugin.py
parentdbe45945acfafac46bfa9d6f3b24881a590b2552 (diff)
downloadpython-coveragepy-git-400fdb2fd299d7b8bb713cd445a9a5485242163c.tar.gz
modified to use report as the default action - the way the old nose plugin worked
Diffstat (limited to 'coverage/testplugin.py')
-rw-r--r--coverage/testplugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/coverage/testplugin.py b/coverage/testplugin.py
index 4ff598a9..89334d7b 100644
--- a/coverage/testplugin.py
+++ b/coverage/testplugin.py
@@ -94,7 +94,7 @@ class CoverageTestWrapper(object):
options = [
optparse.Option('',
- '--cover-action', action='append', default=None,
+ '--cover-action', action='append', default=['report'],
dest='cover_actions', type="choice", choices=['annotate', 'html', 'report', 'xml'],
help="""\
annotate Annotate source files with execution information.