0.6.0
Update dependencies and require Python 3.6 or newer. Return a pathlib.Path
to the generated project via Result.project_path
and add deprecation warning for Result.project
:
def test_bake_project(cookies):
result = cookies.bake(extra_context={"repo_name": "helloworld"})
assert result.exit_code == 0
assert result.exception is None
assert result.project_path.name == "helloworld"
assert result.project_path.is_dir()
# The `project` attribute is deprecated
assert result.project.basename == "helloworld"
assert result.project.isdir()