]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Corrects the order of AssertEquals params in Quobyte tests
authorSilvan Kaiser <silvan@quobyte.com>
Wed, 19 Aug 2015 13:42:25 +0000 (15:42 +0200)
committerSilvan Kaiser <silvan@quobyte.com>
Wed, 19 Aug 2015 13:44:18 +0000 (13:44 +0000)
Closes-Bug: 1486566

Change-Id: I29bd0ea93d0c432da97d761d7955336a80fff2de

cinder/tests/unit/test_quobyte.py

index 7ff3910b355749bb83f86525083c6a5531649e48..62bc3beffa2acdca0f70f949943e8fda43d7183c 100644 (file)
@@ -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