mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
* tests: plots: reorginize the structure * plots: modify: handle --unset for nonexistent options Fixes #3933
13 lines
259 B
Python
13 lines
259 B
Python
import shutil
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture()
|
|
def custom_template(tmp_dir, dvc):
|
|
custom_template = tmp_dir / "custom_template.json"
|
|
shutil.copy(
|
|
tmp_dir / ".dvc" / "plots" / "default.json", custom_template,
|
|
)
|
|
return custom_template
|