@pytest.mark.usefixtures('clean_system', 'remove_additional_dirs')
def test_cookiecutter_no_input_extra_context():
 main.cookiecutter('tests/fake-repo-pre', no_input=True, extra_context={'repo_name': 'fake-project-extra'})
 assert os.path.isdir('fake-project-extra')

@ pytest . mark . usefixtures ( 'clean_system' , 'remove_additional_dirs' ) def test_cookiecutter_no_input_extra_context ( ) : main . cookiecutter ( 'tests/fake-repo-pre' , no_input = True , extra_context = { 'repo_name' : 'fake-project-extra' } ) assert os . path . isdir ( 'fake-project-extra' )
call cookiecutter() with no_input=true and extra_context .