def addSuites(self, suites): # Don't blanket remove rejected apps automatically when collecting self.extraApps = [] for suite in suites: if suite.app in self.extraApps: continue try: batchFilter = BatchVersionFilter(suite.app.getBatchSession()) batchFilter.verifyVersions(suite.app) self.suitesToGenerate.append(suite) self.extraApps += suite.app.extras except plugins.TextTestError, e: plugins.log.info("Not generating web page for " + suite.app.description() + " : " + str(e))
def setUpApplication(self, app): location = os.path.realpath(app.getBatchConfigValue("historical_report_location")) usePie = app.getBatchConfigValue("historical_report_piechart_summary") versionFilter = BatchVersionFilter(app.getBatchSession()) rejected = bool(versionFilter.findUnacceptableVersion(app)) self.locationApps.setdefault(location, []).append((app, usePie, rejected))