Home | History | Annotate | Download | only in site_utils

Lines Matching refs:WORKING

63 # _WORKING - A value that counts as "working" for purposes
75 _WORKING = status_history.WORKING
102 def _check_counts(self, working, broken):
107 sum of working and broken devices.
109 @param working The expected total of working devices.
113 self.assertEqual(self._pool_counts.get_working(), working)
116 working + broken)
125 """Test counting for all non-working status values."""
134 """Test counts after adding a working and then a broken DUT."""
142 """Test counts after adding a broken and then a working DUT."""
171 def _check_all_counts(self, working, broken):
176 Also check that `get_total()` is the sum of working and
183 @param working The expected total of working devices.
187 self.assertEqual(self._board_counts.get_working(), working)
190 working + broken)
198 self.assertEqual(count_working, working)
200 self.assertEqual(count_total, working + broken)
203 def _check_pool_counts(self, pool, working, broken):
208 `get_total()` is the sum of working and broken devices.
211 @param working The expected total of working devices.
216 working)
220 working + broken)
231 """Test counts after adding a working and then a broken DUT.
233 For each pool, add first a working, then a broken DUT. After
237 working = 0
241 working += 1
243 self._check_all_counts(working, broken)
247 self._check_all_counts(working, broken)
251 """Test counts after adding a broken and then a working DUT.
253 For each pool, add first a broken, then a working DUT. After
257 working = 0
263 self._check_all_counts(working, broken)
265 working += 1
267 self._check_all_counts(working, broken)
448 `critgood` is a number of working DUTs in one critical pool.
450 `sparegood` is a number of working DUTs in one critical pool.
522 * The counts of working and broken devices for each
820 `goodcount` is the number of working DUTs in the pool.