testtools 0.9.36+ breaks unit tests for multiple projects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
Medium
|
Unassigned | ||
sqlalchemy-migrate |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Tests fails as in [1]:
Traceback (most recent call last):
File "neutron/
super(
File "neutron/
super(
File "neutron/
super(
File "/home/
% (sys.modules[
ValueError: In File: neutron/
TestCase.setUp was already called. Do not explicitly call setUp from your tests. In your own setUp, use super to call the base setUp.
This is due to the following check in new testtools [2].
[1]: http://
[2]:https:/
Changed in glance: | |
status: | New → Confirmed |
Changed in glance: | |
status: | Confirmed → Fix Committed |
Changed in glance: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | juno-3 → 2014.2 |
Patch for sqlalchemy-migrate: https:/ /review. openstack. org/116292 /review. openstack. org/116271
Patch for neutron (havana): https:/