From: Silvan Kaiser Date: Wed, 19 Aug 2015 13:42:25 +0000 (+0200) Subject: Corrects the order of AssertEquals params in Quobyte tests X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c8059b03531e69cf427c1feccca0bac25544e87b;p=openstack-build%2Fcinder-build.git Corrects the order of AssertEquals params in Quobyte tests Closes-Bug: 1486566 Change-Id: I29bd0ea93d0c432da97d761d7955336a80fff2de --- diff --git a/cinder/tests/unit/test_quobyte.py b/cinder/tests/unit/test_quobyte.py index 7ff3910b3..62bc3beff 100644 --- a/cinder/tests/unit/test_quobyte.py +++ b/cinder/tests/unit/test_quobyte.py @@ -788,11 +788,11 @@ class QuobyteDriverTestCase(test.TestCase): drv.get_active_image_from_info.assert_called_once_with(volume) image_utils.qemu_img_info.assert_called_once_with(vol_path) - self.assertEqual(conn_info['data']['format'], 'raw') - self.assertEqual(conn_info['driver_volume_type'], 'quobyte') - self.assertEqual(conn_info['data']['name'], volume['name']) - self.assertEqual(conn_info['mount_point_base'], - self.TEST_MNT_POINT_BASE) + self.assertEqual('raw', conn_info['data']['format']) + self.assertEqual('quobyte', conn_info['driver_volume_type']) + self.assertEqual(volume['name'], conn_info['data']['name']) + self.assertEqual(self.TEST_MNT_POINT_BASE, + conn_info['mount_point_base']) def test_copy_volume_to_image_raw_image(self): drv = self._driver