@pytest.mark.usefixtures('clean_system', 'remove_additional_dirs')
def test_cookiecutter_templated_context():
 main.cookiecutter('tests/fake-repo-tmpl', no_input=True)
 assert os.path.isdir('fake-project-templated')

@ pytest . mark . usefixtures ( 'clean_system' , 'remove_additional_dirs' ) def test_cookiecutter_templated_context ( ) : main . cookiecutter ( 'tests/fake-repo-tmpl' , no_input = True ) assert os . path . isdir ( 'fake-project-templated' )
call cookiecutter() with no_input=true and templates in the cookiecutter .