pytest-cookies
pytest-cookies copied to clipboard
The pytest plugin for your Cookiecutter templates. 🍪
Until diving into the code, I wasn't sure how to persist the cookiecutter sessions throughout multiple test cases. I've noticed larger packages that use this don't use cookies session which...
in a `post_gen_project.py` hook I do ```python import subprocess LICENSE_IDENTIFIER_TO_FILENAME = { 'Apache-2.0': 'apache_2.txt', 'BSD-3-Clause': 'bsd_3_clause.txt', 'MIT': 'mit.txt', 'OSL-3.0': 'osl_3.txt', 'Proprietary': 'proprietary.txt', } MV_CHOSEN_LICENSE_COMMAND = [ 'mv', f"licenses/{LICENSE_IDENTIFIER_TO_FILENAME['{{cookiecutter.project_license}}']}", './LICENSE', ]...
Hello, I can't get the coverage properly evaluated. Would you know how to fix this? There are mainly two tests, one with the defaults and one with custom parameters. Thank...