| Conditions | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # -*- coding: utf-8 -*- |
||
| 14 | @pytest.fixture |
||
| 15 | def cloned_cookiecutter_path(user_config_data, template): |
||
| 16 | cookiecutters_dir = user_config_data['cookiecutters_dir'] |
||
| 17 | |||
| 18 | cloned_template_path = os.path.join(cookiecutters_dir, template) |
||
| 19 | os.mkdir(cloned_template_path) |
||
| 20 | |||
| 21 | io.open(os.path.join(cloned_template_path, 'cookiecutter.json'), 'w') |
||
| 22 | |||
| 23 | return cloned_template_path |
||
| 24 | |||
| 37 |