-
Hi. Context: I have tests on my template to check if it can be generated. I use pytest with copier library. But now it ignores all unstaged changes, which is a space for mistakes to happen. from pathlib import Path
from copier import run_copy
def test_generate(tmp_path: Path) -> None:
run_copy(
str(Path(__file__).resolve().parent.parent),
str(tmp_path.resolve()),
data={...},
defaults=True,
quiet=True,
) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think #520 is what you want. Not yet released. You could install copier from the master branch. |
Beta Was this translation helpful? Give feedback.
I think #520 is what you want. Not yet released. You could install copier from the master branch.