def test_cookiecutter_no_input_return_rendered_file() -> None:
    """Verify Jinja2 templating correctly works in `cookiecutter.json` file."""
    project_dir = main.cookiecutter('tests/fake-repo-pre', no_input=True)
    assert project_dir == os.path.abspath('fake-project')
    content = Path(project_dir, 'README.rst').read_text()
    assert "Project name: **Fake Project**" in content
Verify Jinja2 templating correctly works in `cookiecutter.json` file.
tests/test_cookiecutter_local_no_input.py