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)
예제 #3
0
    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']
			)
예제 #5
0
    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)