Tests: Fix Datera hash randomization failure

This unit test fails when hash randomization is enabled.

Change-Id: I754d48d8bc4081b96fdf90465c4897d0fadd6262
This commit is contained in:
Eric Harney 2017-05-17 11:26:53 -04:00
parent 4acb585ccb
commit 1ebeebaf99
1 changed files with 3 additions and 1 deletions

View File

@ -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,