def METHOD_NAME(
    self, script_name: str, filenames_created: List[str]
) -> None:
    """Run script in exmple dir and assert that it created the
    files corresponding to the passed filenames inside a 'tmp*' test dir at
    CWD."""
    script_path = str(self.repo_examples_dir / script_name)
    with open(script_path, "rb") as f:
        # pylint: disable=exec-used
        exec(
            compile(f.read(), script_path, "exec"),
            {"__file__": script_path},
        )
    test_dirs = glob.glob("tmp*")
    self.assertTrue(
        len(test_dirs) == 1, f"expected 1 'tmp*' test dir, got {test_dirs}"
    )
    test_dir = test_dirs.pop()
    for name in filenames_created:
        metadata_path = Path(test_dir) / f"{name}"
        self.assertTrue(
            metadata_path.exists(), f"missing '{metadata_path}' file"
        )