* Fix EMCVMAXMasking._get_storage_group_from_masking_view_instance():
replace "if groups[0] > 0:" with "if len(groups):"
* tests-py3.txt: add cinder.tests.unit.test_emc_vmax
Partial-Implements: blueprint cinder-python3
Change-Id: I0f6be3cc0873efe683d39c4c70e19d0d0b79beb8
groups = conn.AssociatorNames(
maskingViewInstance,
ResultClass='CIM_DeviceMaskingGroup')
- if groups[0] > 0:
+ if len(groups) > 0:
foundStorageGroupInstanceName = groups[0]
return foundStorageGroupInstanceName
cinder.tests.unit.test_dellscapi
cinder.tests.unit.test_dothill
cinder.tests.unit.test_drbdmanagedrv
+cinder.tests.unit.test_emc_vmax
cinder.tests.unit.test_emc_vnxdirect
cinder.tests.unit.test_emc_xtremio
cinder.tests.unit.test_eqlx