mirror of
https://github.com/copier-org/copier.git
synced 2025-05-31 23:25:15 +00:00
16 lines
358 B
Python
16 lines
358 B
Python
from pathlib import Path
|
|
from subprocess import CalledProcessError
|
|
|
|
import pytest
|
|
|
|
from .. import copier
|
|
|
|
from .helpers import assert_file, render, PROJECT_TEMPLATE, DATA, filecmp
|
|
|
|
|
|
@pytest.mark.slow
|
|
def test_cleanup(dst):
|
|
with pytest.raises(CalledProcessError):
|
|
copier.copy("./tests/demo_cleanup", dst, quiet=True)
|
|
assert not (dst).exists()
|