def __init__(self, path: str, build_dir: str, bundle_dir: str) -> None: self.path = path self.build_dir = build_dir self.bundle_dir = bundle_dir self.bundle_manifest = BundleManifest.from_urlpath("/".join([self.path.rstrip("/"), self.bundle_dir])) self.build_manifest = BuildManifest.from_urlpath("/".join([self.path.rstrip("/"), self.build_dir]))
def main(): args = TestArgs() console.configure(level=args.logging_level) with TemporaryDirectory(keep=args.keep) as work_dir: bundle_manifest = BundleManifest.from_urlpath( args.paths.get("opensearch", os.getcwd())) BwcTestSuite(bundle_manifest, work_dir.name, args.component, args.keep).execute()