コード例 #1
0
 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)
コード例 #2
0
 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)
コード例 #3
0
 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)
コード例 #4
0
 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)
コード例 #5
0
 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)