def setUp(self): self.path = "script.test/" self.whitelist = ["INFO: Checking add-on script.test", "INFO: Created by mzfr", "INFO: This is a new addon" "INFO: Image icon exists", "Icon dimensions are fine", "INFO: Image fanart exists", "WARN: Complex entry point", "WARN: We found", "please check the logfile"] load_plugins() self.config = Config(self.path) ReportManager.enable(["array"]) self.all_repo_addons = get_all_repo_addons() self.args = Args()
def process_config(cls, config): reporters = config["reporter"] if reporters is not None: # To disable all, pass empty array in .tests-config.json ReportManager.enable(reporters)
def setUp(self): self.path = join(HERE, "test_data", "PO_files") load_plugins() ReportManager.enable(["array"]) self.report = Report("") self.report_matches = ("ERROR: Invalid PO file")
def setUp(self): load_plugins() ReportManager.enable(["array"]) self.report = Report("")