]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add mock for cinder-rtstool call in tests.targets.test_lio_driver
authorMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Thu, 15 Jan 2015 00:59:54 +0000 (19:59 -0500)
committerMitsuhiro Tanino <mitsuhiro.tanino@hds.com>
Thu, 15 Jan 2015 01:11:23 +0000 (20:11 -0500)
commit94d9c9c8e5df18589d233f4a713f2f2059bdf92d
treeb011867c0974a7b5e787dfbfcb495350451d4e77
parente35cbfa22b45685c1f9d1bc5e54362d63a8ef944
Add mock for cinder-rtstool call in tests.targets.test_lio_driver

Unit tests in tests.targets.test_lio_driver are calling out to
cinder-rtstool.
change-id Ic25828361d9c30c4e1aa37b630d8ad272a78977b skips this
unit test to avoid failure of tests.
This patch reverts this change and adds mock for calling of
cinder-rtstool to reenable the unit tests.

Change-Id: I11dc07f692b5ba07484595c980f82bbdd2140d24
Closes-Bug: #1411029
cinder/tests/targets/test_lio_driver.py