def __init__(self, config): self.config = config errors, warnings, manifest_config = xmlutil.parse_manifest(self.config["manifest_path"]) config["manifest"] = manifest_config env = self.config["env"] self.client = Client(config["manifest"][env]["base"], config["manifest"][env]["sso"])
def manifest(self): errors, warnings, manifest_config = xmlutil.parse_manifest(self.config['manifest_path']) if errors or warnings: Printer.start_test('Checking manifest') for error in errors: Printer.error("Manifest: %s" % error) for warning in warnings: Printer.warn("Manifest: %s" % warning)
def __init__(self, config): self.config = config errors, warnings, manifest_config = xmlutil.parse_manifest( self.config['manifest_path']) config['manifest'] = manifest_config env = self.config['env'] self.client = Client(config['manifest'][env]['base'], config['manifest'][env]['sso'])
def __init__(self,config): self.config = config errors, warnings, manifest_config = xmlutil.parse_manifest(self.config['manifest_path']) config['manifest'] = manifest_config env = self.config['env'] self.client = Client( config['manifest'][env]['base'], config['manifest'][env]['sso'] )
def manifest(self): errors, warnings, manifest_config = xmlutil.parse_manifest( self.config['manifest_path']) if errors or warnings: Printer.start_test('Checking manifest') for error in errors: Printer.error("Manifest: %s" % error) for warning in warnings: Printer.warn("Manifest: %s" % warning)