"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cinder/tests/unit/volume/drivers/dell_emc/powerstore/test_volume_create_delete_extend.py" between
cinder-17.0.1.tar.gz and cinder-17.1.0.tar.gz

About: OpenStack Cinder (Core Service: Block Storage) provides persistent block storage to running instances. Its pluggable driver architecture facilitates the creation and management of block storage devices.
The "Victoria" series (latest release).

test_volume_create_delete_extend.py  (cinder-17.0.1):test_volume_create_delete_extend.py  (cinder-17.1.0)
skipping to change at line 25 skipping to change at line 25
from unittest import mock from unittest import mock
from cinder import exception from cinder import exception
from cinder.tests.unit import fake_volume from cinder.tests.unit import fake_volume
from cinder.tests.unit.volume.drivers.dell_emc import powerstore from cinder.tests.unit.volume.drivers.dell_emc import powerstore
from cinder.volume.drivers.dell_emc.powerstore import client from cinder.volume.drivers.dell_emc.powerstore import client
class TestVolumeCreateDeleteExtend(powerstore.TestPowerStoreDriver): class TestVolumeCreateDeleteExtend(powerstore.TestPowerStoreDriver):
@mock.patch("cinder.volume.drivers.dell_emc.powerstore.client." @mock.patch("cinder.volume.drivers.dell_emc.powerstore.client."
"PowerStoreClient.get_chap_config")
@mock.patch("cinder.volume.drivers.dell_emc.powerstore.client."
"PowerStoreClient.get_appliance_id_by_name") "PowerStoreClient.get_appliance_id_by_name")
def setUp(self, mock_appliance): def setUp(self, mock_appliance, mock_chap):
super(TestVolumeCreateDeleteExtend, self).setUp() super(TestVolumeCreateDeleteExtend, self).setUp()
mock_appliance.return_value = "A1" mock_appliance.return_value = "A1"
self.driver.check_for_setup_error() self.driver.check_for_setup_error()
self.volume = fake_volume.fake_volume_obj( self.volume = fake_volume.fake_volume_obj(
{}, {},
host="host@backend#test-appliance", host="host@backend#test-appliance",
provider_id="fake_id", provider_id="fake_id",
size=8 size=8
) )
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)