]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove driver.set_execute()
authorEric Harney <eharney@redhat.com>
Wed, 26 Aug 2015 19:11:59 +0000 (15:11 -0400)
committerEric Harney <eharney@redhat.com>
Thu, 27 Aug 2015 20:09:30 +0000 (16:09 -0400)
commit9e494b1be69d177f43fddbc7cd7b99baec0f72bd
tree1d947d2516a9ea06585d9ffd4daf373a1f0b9185
parent8e538490752b9d7f9dbb8f74e1550017a6de9225
Remove driver.set_execute()

This method doesn't appear to really be needed,
and mostly exists to help unit tests.  Update a
few tests to mock out the required execute calls,
and remove the method to make the driver interface
a bit simpler.

Change-Id: I70d8a7e74761ce7bc1e51bf9f3c49eb0ce0986e0
12 files changed:
cinder/tests/unit/test_glusterfs.py
cinder/tests/unit/test_gpfs.py
cinder/tests/unit/test_scality.py
cinder/tests/unit/test_srb.py
cinder/tests/unit/test_volume.py
cinder/volume/driver.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/hitachi/hnas_nfs.py
cinder/volume/drivers/ibm/ibmnas.py
cinder/volume/drivers/netapp/dataontap/nfs_base.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/srb.py