def load_manifest(test_root): if manifest is None: do_test_relative_imports(test_root) mainfest_path = os.path.abspath(os.path.join(os.path.split(__file__)[0], "metadata", "MANIFEST.json")) manifest.setup_git(test_root) test_manifest = manifest.load(mainfest_path) manifest.update(test_manifest) return test_manifest
def create_manifest(self): logger.info("Creating test manifest") manifest.setup_git(self.tests_root) manifest_file = manifest.Manifest(None) manifest.update(manifest_file) manifest.write(manifest_file, self.manifest_path)