-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is Your Feature Request Related to a Problem? Please Describe
We repeating (slight variations of) this snippet
python-tooling/tests/test_package_generation.py
Lines 102 to 108 in f104af2
test_config = { | |
"github_owner": "test-user", | |
"project_short_description": "description", | |
"project_name": "Cookiecutter Test", | |
} | |
generate_package(config=test_config, path=tmp_path) | |
test_project_dir = tmp_path / "cookiecutter-test" |
across a lot of tests.
Describe the Solution You'd Like
I think it would be nicer to have generate_package
return the path to the directory the package is created in (test_project_dir
) based on the passed tmp_path
and config["project_name"]
and to have a default_package_config
fixture to avoid the repetition of the config specification.
Describe Alternatives You've Considered
No response
Additional Context
No response
paddyroddy
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request