Lines Matching full:inventory
440 """Parent class for tests relating to full Lab inventory.
465 self.inventory = None
471 @param data Representation of Lab inventory data, as
489 self.inventory = lab_inventory._LabInventory(histories)
495 Contains basic coverage to show that after an inventory is
496 created and DUTs with known status are added, the inventory
499 Test inventory objects are created using the `create_inventory()`
519 """Create a test inventory, and confirm that it's correct.
524 * That the set of returned boards in the inventory matches
531 @param data Inventory data as for `self.create_inventory()`.
537 for b in self.inventory:
538 c = self.inventory[b]
555 self.assertEqual(self.inventory.get_managed_boards(),
557 board_list = self.inventory.keys()
559 self.assertEqual(self.inventory.get_num_duts(),
561 self.assertEqual(self.inventory.get_num_boards(),
606 # tests below to construct a sample inventory that should produce
680 """Test that a test inventory creates the correct message.
682 Create a test inventory from `data` using
683 `self.create_inventory()`. Then generate the board inventory
690 @param data Inventory data as for `self.create_inventory()`.
695 self.inventory).split('\n')
742 # tests below to construct a sample inventory that should produce
814 used to create a lab inventory. `pools` is a list of strings
845 Create a lab inventory from the given `histories`, and
846 generate the pool inventory message. Then parse the message
975 """Test that reporting ignores the spare pool inventory."""