Add capability to specify the template directory via ``bake()``.
python
pytest.fixture
def custom_template():
return "templates/minimal/"
def test_bake_custom_project(cookies, custom_template):
"""Test for generating a new project."""
result = cookies.bake(template=custom_template)
assert result.exit_code == 0
assert result.exception is None
assert result.project.basename == 'example-project'
assert result.project.isdir()
Please see the [documentation](https://github.com/hackebrot/pytest-cookies#specify-template-directory) for more information.