nosetest options cause no such option errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Mark Washenberger | ||
Folsom |
Fix Released
|
Low
|
Joshua Harlow | ||
Grizzly |
Fix Released
|
Low
|
Mark Washenberger | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When trying to use nose options, there are a few place in the test code where openstack common config is failing because its trying to parse sys.argv. For example:
$ eatmydata ./run_tests.sh glance/
TestImagesContr
test_create Usage: nosetests [options]
nosetests: error: no such option: -x
ERROR 0.00
=======
ERROR: test_create (glance.
-------
Traceback (most recent call last):
File "/home/
super(
File "/home/
config.
File "/home/
default_
File "/home/
self.
File "/home/
values, leftovers = self._oparser.
File "/usr/lib/
self.
File "/usr/lib/
self.exit(2, "%s: error: %s\n" % (self.get_
File "/usr/lib/
sys.
SystemExit: 2
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 86 lines (+55/-2)2 files modifieddebian/changelog (+53/-1)
debian/control (+2/-1)
CVE References
Changed in glance: | |
importance: | Undecided → Low |
milestone: | none → grizzly-1 |
tags: | added: folsom-backport-potential |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | New → Fix Released |
Changed in glance (Ubuntu Quantal): | |
status: | New → Confirmed |
tags: | removed: folsom-backport-potential in-stable-folsom |
Fix proposed to branch: master /review. openstack. org/13662
Review: https:/