def testInventory4(self): option_parser = UmitOptionParser(["--inventory", "inventory_name"]) self.assert_(option_parser.get_inventory() == "inventory_name", "Failed to get inventory option (--inventory inventory_name)")
def testInventory2(self): option_parser = UmitOptionParser(["--inventory"]) self.assert_(option_parser.get_inventory(), "Failed to get inventory option (--inventory)")