| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
H201 no 'except:' at least use 'except Exception:'
Change-Id: Ibfab55ace63636d3507fbdad46d1436b8ec83475
|
|
|
|
|
|
|
| |
Mechanical translation of deprecated constructs
to 3.x compatible variants.
Change-Id: I4988d0ac656903e0d0320aaa8361d4eeb774a0f9
|
|
|
|
|
|
|
|
|
| |
Using the BaseTestCase across the tests in the tree lets us put in log
fixtures and consistently handle mox and stubout.
Part of blueprint grizzly-testtools.
Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On the path to testr migration, we need to replace the unittest base classes
with testtools.
Replace tearDown with addCleanup, addCleanup is more resilient than tearDown.
The fixtures library has excellent support for managing and cleaning
tempfiles. Use it.
Replace skip_ with testtools.skipTest
Part of blueprint grizzly-testtools.
Change-Id: I45e11bbb1ff9b31f3278d3b016737dcb7850cd98
|
|
This patch adds save_and_reraise_exception() to a new module,
openstack.common.excutils. This is based on the function of the same
name from nova.utils. It is used by nova.rpc, so something equivalent
is needed in openstack-common before nova.rpc can be moved here.
Change-Id: Icec574a081837e0f2d0548a5759d21b0352dbee6
|