]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use tmpdir and avoid leaving test files behind
authorJohn Griffith <john.griffith@solidfire.com>
Wed, 12 Sep 2012 22:52:02 +0000 (16:52 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Wed, 12 Sep 2012 23:35:44 +0000 (17:35 -0600)
commit96f72f2cfd0afa6e60399dadd30bb83b0ab8ee0e
treedbf0eaadcd271a1727dcdb0d2027842c48700df4
parent81061b1b251a568697836a91d6e5dff08872cf3a
Use tmpdir and avoid leaving test files behind

 We were just creating a file for testing iscsi persist files and
 weren't cleaning up after the test.

 Change this to use a tmpdir and make sure we leave no tracks.

 Fixes bug #1050086

Change-Id: I9b9a2400a172d52987d76f3132793cb042fd201c
cinder/tests/test_iscsi.py