Reviewed: https://review.openstack.org/237543 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=f13777da65f57e49aa109661a588c6ee3695144d Submitter: Jenkins Branch: master
commit f13777da65f57e49aa109661a588c6ee3695144d Author: Vipin Balachandran <email address hidden> Date: Mon Oct 19 12:25:54 2015 +0530
VMware: Unit test refactoring
Some of the unit tests use mox instead of mock. Also, there are cases where a single test tests multiple cases and methods. This patch refactors the unit tests for the following methods in the vmdk module to fix these issues:
* get_volume_stats * _verify_volume_creation * create_volume * delete_volume * _get_extra_spec_disk_type * _get_disk_type * create_snapshot * delete_snapshot
There will be follow-up patches to fix the remaining unit tests.
Partial-bug: #1261097 Change-Id: I17b1c0df4e13bf9900a2fe8d37ff5297a8e7486e
Reviewed: https:/ /review. openstack. org/237543 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=f13777da65f 57e49aa109661a5 88c6ee3695144d
Committed: https:/
Submitter: Jenkins
Branch: master
commit f13777da65f57e4 9aa109661a588c6 ee3695144d
Author: Vipin Balachandran <email address hidden>
Date: Mon Oct 19 12:25:54 2015 +0530
VMware: Unit test refactoring
Some of the unit tests use mox instead of mock. Also, there are
cases where a single test tests multiple cases and methods. This
patch refactors the unit tests for the following methods in the
vmdk module to fix these issues:
* get_volume_stats volume_ creation spec_disk_ type
* _verify_
* create_volume
* delete_volume
* _get_extra_
* _get_disk_type
* create_snapshot
* delete_snapshot
There will be follow-up patches to fix the remaining unit tests.
Partial-bug: #1261097 9900a2fe8d37ff5 297a8e7486e
Change-Id: I17b1c0df4e13bf