Rebase on LogicalUnit.name @property setter

Recent pypowervm commit 5f4e66ff1a7c6b335b881dcf8daac7414abc1f3a exposed
the private _name method of LogicalUnit as a public @property setter.
Rebase on the change.

Change-Id: I8065aeea33d95189bcc2df74dd882cb98605ba5c
This commit is contained in:
Eric Fried
2016-02-25 14:47:12 -06:00
parent 23b821fc8c
commit cf3daa9145

View File

@@ -576,7 +576,7 @@ class TestSSPDiskAdapter(test.TestCase):
# named boot_my_instance_name.
vios1 = pvm_vios.VIOS.wrap(pvmhttp.load_pvm_resp(
'fake_vios_ssp_npiv.txt', adapter=self.apt).get_response())
vios1.scsi_mappings[3].backing_storage._name('boot_my_instance_name')
vios1.scsi_mappings[3].backing_storage.name = 'boot_my_instance_name'
resp1 = self._bld_resp(entry_or_list=vios1.entry)
vios2 = copy.deepcopy(vios1)
# Change name and UUID so we can tell the difference: