def test_filter_gcloud_get_inventory(self): inv = GCloudInventory.GCloudInventory() output = inv.get_inventory(self.test_input, self.test_layout) sections = inventory_utils.get_sections(output) assert_equal(len(sections), 7)
def test_filter_os_get_inventory(self): inv = OpenstackInventory.OpenstackInventory() output = inv.get_inventory(self.test_input, self.test_layout) sections = inventory_utils.get_sections(output) assert_equal(len(sections), 7)
def test_filter_generic_get_inventory(self): inv = GenericInventory.GenericInventory() layout_data = Camel().dump(self.test_layout) output = inv.get_inventory(self.test_input, layout_data) sections = inventory_utils.get_sections(output) assert_equal(len(sections), 7)