Lines Matching full:board
26 def __init__(self, board, pool, status, hostname=''):
27 self._board = board
41 """Return the recorded board."""
362 @param counts List of tuples with board count data.
371 @param repair_counts List of (board, count) tuples.
376 for board, count in repair_counts:
379 _FakeHostHistory(board, pool, _BROKEN))
426 """Test that improving the worst board improves scoring.
430 sufficient to improve the count of the worst board in order
449 than improving one. Assert that improving any one board is
467 is a dictionary mapping board names to tuples of this form:
501 for board, counts in data.items():
505 history = _FakeHostHistory(board,
509 if board is not None:
526 # _BOARD_LIST - A list of sample board names for use in testing.
545 board match the numbers from `data`.
600 """Test handling when the board is `None`."""
611 board: counts for board in slice
618 """Test counts when there is a single DUT per board."""
650 Board Avail Bad Idle Good Spare Total
681 board = items[0]
686 self._board_data.append((board, (good, bad, idle, spare)))
718 `self.create_inventory()`. Then generate the board inventory
739 board: self._make_minimum_spares(counts)
740 for board, counts in self._board_data
748 board: self._make_maximum_spares(counts)
749 for board, counts in self._board_data
757 board: self._make_maximum_spares(counts)
758 for board, counts in self._board_data
767 board: self._make_maximum_spares(counts)
768 for board, counts in self._board_data
777 board: self._make_maximum_spares(counts)
778 for board, counts in self._board_data
838 Board Bad Idle Good Total
887 board = items[0]
891 self._board_data.append((board, (good, bad, idle)))
901 `(board, (goodcount, badcount))`
903 `board` is a board name.
918 for board, counts in board_data:
922 _FakeHostHistory(board, pool, status))
944 @return A dictionary mapping board names to the output
945 (a list of lines) for the board.
1043 Hostname Board Pool
1070 board = items[1]
1072 self._host_data.append((hostname, board, pool))
1081 board, pool, _UNUSED, hostname=hostname)
1082 for hostname, board, pool in self._host_data]
1128 _NULL_NOTIFY = ['--board-notify=', '--pool-notify=']
1197 This is a helper function to test the `--board-notify` and
1229 """Test parsing of the `--board-notify` option."""
1230 self._check_email_option('--board-notify',