Merge lp:~soren/nova/nose-plugins into lp:~hudson-openstack/nova/trunk

Proposed by Soren Hansen
Status: Merged
Approved by: Devin Carlen
Approved revision: 593
Merged at revision: 593
Proposed branch: lp:~soren/nova/nose-plugins
Merge into: lp:~hudson-openstack/nova/trunk
Diff against target: 13 lines (+2/-1)
1 file modified
run_tests.py (+2/-1)
To merge this branch: bzr merge lp:~soren/nova/nose-plugins
Reviewer Review Type Date Requested Status
Devin Carlen (community) Approve
Jay Pipes (community) Approve
Review via email: mp+46912@code.launchpad.net

Commit message

Pass a PluginManager to nose.config.Config(). This lets us use plugins like coverage, xcoverage, etc.

Description of the change

Pass a PluginManager to nose.config.Config(). This lets us use plugins like coverage, xcoverage, etc.

This fixes the test coverage report on Hudson.

To post a comment you must log in.
Revision history for this message
Jay Pipes (jaypipes) wrote :

lgtm.

review: Approve
Revision history for this message
Devin Carlen (devcamcar) wrote :

lgtm

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'run_tests.py'
2--- run_tests.py 2011-01-19 01:32:54 +0000
3+++ run_tests.py 2011-01-20 14:10:34 +0000
4@@ -60,7 +60,8 @@
5 if __name__ == '__main__':
6 c = config.Config(stream=sys.stdout,
7 env=os.environ,
8- verbosity=3)
9+ verbosity=3,
10+ plugins=core.DefaultPluginManager())
11
12 runner = NovaTestRunner(stream=c.stream,
13 verbosity=c.verbosity,