copier/tests/test_tasks.py
Juan-Pablo Scaletti 30ffc4dade special keys in config file are NOT being ignored anymore
_exclude, _include, _tasks, and _extra_paths can be loaded from the copier.yml (or alternative) file.
Fix #36.
I’m ashamed I didn’t noticed this bug before. :(
2019-06-08 23:01:22 -05:00

9 lines
224 B
Python

from .. import copier
def test_execute_tasks(dst):
copier.copy("tests/demo_tasks", dst, quiet=True)
assert (dst / "hello").exists()
assert (dst / "hello").is_dir()
assert (dst / "hello" / "world").exists()