]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
VMware: Unit test refactoring (image to vol - 1/2)
authorVipin Balachandran <vbala@vmware.com>
Tue, 24 Nov 2015 12:00:44 +0000 (17:30 +0530)
committerVipin Balachandran <vbala@vmware.com>
Wed, 2 Dec 2015 12:41:39 +0000 (18:11 +0530)
commitc09770af672ebc482fc488f5922bb1bcc0f81679
treeb44502ec6e05b49d93f7e61e883448fc996b1806
parent4a9b619403332752b90818f4d9badc8aeeae2436
VMware: Unit test refactoring (image to vol - 1/2)

There are cases where a single test tests multiple methods. This
patch refactors the unit tests for the following methods in the
vmdk module to fix this issue:
   * copy_image_to_volume
   * _create_volume_from_non_stream_optimized_image

There will be follow-up patches to fix the remaining unit tests.

Change-Id: Icd2c3d506647b7b9405d83612433fea735d13cc9
cinder/tests/unit/test_vmware_vmdk.py