Tests: Fix Datera hash randomization failure
This unit test fails when hash randomization is enabled.
# 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,
