Tests: Fix Datera hash randomization failure
This unit test fails when hash randomization is enabled. Change-Id: I754d48d8bc4081b96fdf90465c4897d0fadd6262
This commit is contained in:
parent
4acb585ccb
commit
1ebeebaf99
@ -14,6 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
import mock
|
||||
import six
|
||||
|
||||
from cinder import context
|
||||
from cinder import exception
|
||||
@ -473,7 +474,8 @@ class DateraVolumeTestCasev2(test.TestCase):
|
||||
def test_get_manageable_volumes(self):
|
||||
if self._apiv == '2':
|
||||
self.mock_api.return_value = non_cinder_ais
|
||||
self.assertEqual(
|
||||
six.assertCountEqual(
|
||||
self,
|
||||
self.driver.get_manageable_volumes(
|
||||
{}, "", 10, 0, "", ""),
|
||||
[{'cinder_id': None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user