Searched refs:get_broken (Results 1 – 3 of 3) sorted by relevance
259 def get_broken(self): member in _HostSetInventory373 def get_broken(self, pool=None): member in _PoolSetInventory381 return self._count_pool(_HostSetInventory.get_broken, pool)423 return self.get_total(spare_pool) - self.get_broken()689 if counts.get_broken() != 0:773 counts.get_broken(),844 broken = counts.get_broken(pool)968 total_broken += counts.get_broken()
153 self.assertEqual(self.histories.get_broken(), broken)229 self.assertEqual(self._pool_histories.get_broken(), broken)237 count_broken += self._pool_histories.get_broken(pool)256 self.assertEqual(self._pool_histories.get_broken(pool),516 histories.get_broken(CRITICAL_POOL),521 histories.get_broken(SPARE_POOL),
497 if counts.get_broken(pool) != 0]