Searched refs:get_total (Results 1 – 3 of 3) sorted by relevance
/external/autotest/site_utils/ |
D | lab_inventory.py | 282 def get_total(self): member in _HostSetInventory 423 return self.get_total(spare_pool) - self.get_broken() 425 def get_total(self, pool=None): member in _PoolSetInventory 433 return self._count_pool(_HostSetInventory.get_total, pool) 546 return {m for m, h in self.iteritems() if h.get_total(pool)} 562 spares = poolset.get_total(spare_pool) 563 total = poolset.get_total() 645 newcount = repair_inventory[m].get_total() 766 counts.get_total(), model) 776 counts.get_total(SPARE_POOL), [all …]
|
D | lab_inventory_unittest.py | 155 self.assertEqual(self.histories.get_total(), 230 self.assertEqual(self._pool_histories.get_total(), 238 count_total += self._pool_histories.get_total(pool) 258 self.assertEqual(self._pool_histories.get_total(pool),
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | summary_ops_test.py | 692 get_total = lambda: len(events_from_logdir(logdir)) function 693 self.assertEqual(1, get_total()) # file_version Event 696 self.assertEqual(1, get_total()) 699 self.assertEqual(1, get_total()) 702 self.assertEqual(2, get_total()) 850 get_total = lambda: len(events_from_logdir(logdir)) function 852 self.assertEqual(1, get_total()) 854 self.assertEqual(1, get_total()) 857 self.assertEqual(3, get_total()) 861 get_total = lambda: len(events_from_logdir(logdir)) function [all …]
|