Pytest-cookies

Latest version: v0.7.0

Safety actively analyzes 623248 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.7.0

Fixes for Cookiecutter v2.1.0 and newer (63).

0.6.1

Update `bdist_wheel` info in setup.cfg.

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`:

python
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()

0.5.1

Allow bug fix releases of [Cookiecutter][cookiecutter]. 🍪

[cookiecutter]: https://github.com/cookiecutter/cookiecutter

0.5.0

Adds the session-scoped `cookies_session` fixture for baking projects. 🍪

0.4.0

By default ``cookies`` removes baked projects. This release adds a new CLI option to keep generated projects:

text
pytest --keep-baked-projects

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.