def test_cookiecutter_input_extra_context(monkeypatch) -> None:
    """Verify simple cookiecutter run results, with extra_context provided."""
    monkeypatch.setattr(
        'cookiecutter.prompt.read_user_variable',
        lambda _var, default, _prompts, _prefix: default,
    )
    main.cookiecutter(
        'tests/fake-repo-pre',
        no_input=False,
        extra_context={'repo_name': 'fake-project-input-extra'},
    )
    assert os.path.isdir('fake-project-input-extra')
Verify simple cookiecutter run results, with extra_context provided.
tests/test_cookiecutter_local_with_input.py