def run(self): self.logger.info( 'Got %s campaigns from config: %s', len(self.cids), self.cids) if self.args.resubmit: self.submit_campaigns() if self.args.skip_capture: self.logger.info('Skipping capture due to config option!') return # TODO: build should be a param on the object if not self.args.compare_build: build = output.generate_build_string(prefix=self.args.test_config) pb = output.create(build, basepath=OUTPUT_BASEDIR) self.capture_tags(pb=pb) else: build = self.args.compare_build self.compare_builds(build)
def test_generate_build_string(): string = output.generate_build_string() assert string, "Generated a build string!"