def template(tmp_path):
    """Fixture to prepare test template directory."""
    template_dir = tmp_path.joinpath("template")
    template_dir.mkdir()
    template_dir.joinpath('cookiecutter.json').touch()
    return str(template_dir)
Fixture to prepare test template directory.
tests/test_specify_output_dir.py