Merge lp:~jaypipes/nova/cleanup-for-nosetests into lp:~hudson-openstack/nova/trunk
Proposed by
Jay Pipes
Status: | Merged |
---|---|
Approved by: | Eric Day |
Approved revision: | 317 |
Merged at revision: | 325 |
Proposed branch: | lp:~jaypipes/nova/cleanup-for-nosetests |
Merge into: | lp:~hudson-openstack/nova/trunk |
Diff against target: |
379 lines (+63/-43) 9 files modified
nova/tests/api/__init__.py (+2/-1) nova/tests/api/rackspace/__init__.py (+2/-2) nova/tests/api/rackspace/fakes.py (+15/-1) nova/tests/api/rackspace/test_auth.py (+12/-12) nova/tests/api/rackspace/test_flavors.py (+9/-7) nova/tests/api/rackspace/test_images.py (+3/-4) nova/tests/api/rackspace/test_servers.py (+16/-11) nova/tests/api/rackspace/test_sharedipgroups.py (+3/-5) tools/pip-requires (+1/-0) |
To merge this branch: | bzr merge lp:~jaypipes/nova/cleanup-for-nosetests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eric Day (community) | Approve | ||
Michael Gundlach (community) | Approve | ||
Nova Core security contacts | Pending | ||
Review via email:
|
Description of the change
Cleans up the unit tests that are meant to be run with nosetests
* Renames all test modules to start with test_ so that nosetests does
not need to be run with the --all-modules flag in order to pick them up
* Renames test_helper to fakes and removes imports in unit tests that
did not reference the fakes
* Adds nose to pip-requires so that run_tests.sh -V will install nose
into the virtualenv instead of having to manually install it after running
into import errors :)
To post a comment you must log in.
Great! Thanks for doing this.
lgtm, unless you think we should version nose in pip-requires.