diff options
| author | Robert Collins <rbtcollins@hp.com> | 2013-04-09 12:23:19 +1200 |
|---|---|---|
| committer | Robert Collins <rbtcollins@hp.com> | 2013-04-09 12:25:55 +1200 |
| commit | 806f1cfe3f01a0cb5c717508683f50927c47af7a (patch) | |
| tree | 1169aa2f27decdb88f9a3489f323636c34e38576 /bin/stack | |
| parent | 88cd09445ea46bba0f62ef58894fd92243021a88 (diff) | |
| download | nova-806f1cfe3f01a0cb5c717508683f50927c47af7a.tar.gz nova-806f1cfe3f01a0cb5c717508683f50927c47af7a.tar.xz nova-806f1cfe3f01a0cb5c717508683f50927c47af7a.zip | |
Fix a bad tearDown method in test_quantumv2.py.
Cleanup code runs in LIFO order, so this was calling the mox methods
in the wrong order. Secondly the whole point of addCleanup is to
register code to run as soon as it is known that it should run, vs
tearDown which only runs if setUp succeeds, and doesn't know what
other code completed.
Change-Id: Iff3b91e9d43cc58b667b32cacc4b97b6e0e1f298
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
