

def test_skip_non_symlink(self):
    os.mkdir(self.build_dir)
    replace_symlink = os.path.join(self.build_dir, 'symlinkc')
    open(replace_symlink, 'w').close()
    self.build_scaffold('test-template-2', overwrite_target_root=True)
    assert self.exists('symlinkc', type='file')
    assert self.logged('Skipping existing non-symlink', level='error')

dataset/ETHPy150Open fgimian/flaskage/tests/test_scaffold.py TestScaffold.test_skip_non_symlink/original