Home
last modified time | relevance | path

Searched refs:get_broken (Results 1 – 2 of 2) sorted by relevance

/external/autotest/site_utils/
Dlab_inventory.py214 def get_broken(self): member in _PoolCounts
320 def get_broken(self, pool=None): member in _BoardCounts
328 return self._count_pool(_PoolCounts.get_broken, pool)
342 return self.get_total(_SPARE_POOL) - self.get_broken()
576 if counts.get_broken() != 0:
655 counts.get_broken(),
725 broken = counts.get_broken(pool)
964 total_broken += counts.get_broken()
Dlab_inventory_unittest.py114 self.assertEqual(self._pool_counts.get_broken(), broken)
188 self.assertEqual(self._board_counts.get_broken(), broken)
196 count_broken += self._board_counts.get_broken(pool)
217 self.assertEqual(self._board_counts.get_broken(pool),
541 c.get_broken(self._CRITICAL_POOL)),
543 c.get_broken(self._SPARE_POOL)))