@skip_windows(reason='cannot scripts written in an arbitrary language on '
                     'windows by relying on the shebang')
def test_apply_template(project_home, testtemplate):
    projname = 'project1'
    invoke('mkproject', '-t', 'test', projname, '-d')
    testfile = project_home / projname / 'TEST_FILE'
    assert testfile.exists()
    with testfile.open() as f:
        assert projname in f.read()
    invoke('rm', projname)
    rmtree(str(project_home / projname))
dataset/ETHPy150Open berdario/pew/tests/test_project.py/test_apply_template/original