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)