@pytest.mark.usefixtures('clean_system', 'remove_additional_dirs')
def test_cookiecutter_no_input_return_project_dir():
 project_dir = main.cookiecutter('tests/fake-repo-pre', no_input=True)
 assert (project_dir == os.path.abspath('fake-project'))

@ pytest . mark . usefixtures ( 'clean_system' , 'remove_additional_dirs' ) def test_cookiecutter_no_input_return_project_dir ( ) : project_dir = main . cookiecutter ( 'tests/fake-repo-pre' , no_input = True ) assert ( project_dir == os . path . abspath ( 'fake-project' ) )
call cookiecutter() with no_input=true .