]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Replace tearDown with addCleanup - Part 3
authorJulia Varlamova <jvarlamova@mirantis.com>
Tue, 18 Feb 2014 11:17:44 +0000 (15:17 +0400)
committerJulia Varlamova <jvarlamova@mirantis.com>
Thu, 3 Jul 2014 11:49:56 +0000 (15:49 +0400)
commit95588918ce3fd8460b7d5acfe0352e83ddef0e5d
treeec19ee042dbeaaf743f5887a249a9bd882e5dd7f
parent52b64013a2d54f06da776cc1dee4d399d3e66a3d
Replace tearDown with addCleanup - Part 3

Replace tearDown with addCleanup in some cinder unit tests.

Infra team has indicated that tearDown should not be used and should
be replaced with addCleanup in all places.

Implements blueprint replace-teardown-with-addcleanup

Change-Id: I8469ffb5c896d40f9979cd6d1f8da81be763ec14
cinder/tests/api/v2/test_volumes.py
cinder/tests/test_backup_swift.py
cinder/tests/test_create_volume_flow.py
cinder/tests/test_emc_smis.py
cinder/tests/test_hds.py
cinder/tests/test_iscsi.py
cinder/tests/test_volume_utils.py