]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Merge "Correct usage of assertEqual for boolean values"
authorJenkins <jenkins@review.openstack.org>
Sun, 6 Sep 2015 17:47:23 +0000 (17:47 +0000)
committerGerrit Code Review <review@openstack.org>
Sun, 6 Sep 2015 17:47:23 +0000 (17:47 +0000)
1  2 
cinder/tests/unit/api/test_xmlutil.py
cinder/tests/unit/test_dothill.py
cinder/tests/unit/test_hplefthand.py
cinder/tests/unit/test_volume.py
cinder/tests/unit/volume/drivers/test_hgst.py

Simple merge
Simple merge
index 505c162ba6966cc52f7a65ca7119d54d42b6c072,1e9998ca1ae092a4937f8f271b937087be3d1678..3a72f210dec2afae90d9202e507af709bfe6c0b5
@@@ -2071,10 -2053,9 +2071,10 @@@ class TestHPLeftHandRESTISCSIDriver(HPL
              self.assertEqual(GOODNESS_FUNCTION, stats['goodness_function'])
              self.assertEqual(FILTER_FUNCTION, stats['filter_function'])
              self.assertEqual(1, int(stats['total_volumes']))
-             self.assertEqual(True, stats['thin_provisioning_support'])
-             self.assertEqual(True, stats['thick_provisioning_support'])
+             self.assertTrue(stats['thin_provisioning_support'])
+             self.assertTrue(stats['thick_provisioning_support'])
              self.assertEqual(1, int(stats['provisioned_capacity_gb']))
 +            self.assertEqual(25, int(stats['reserved_percentage']))
  
              cap_util = (
                  float(units.Gi * 500 - units.Gi * 250) / float(units.Gi * 500)
Simple merge