mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 23:09:44 +01:00
* params: add targets option * fixup * remove unnecessary changes * fix isort * params: diff: add test for --targets * tests: roll back metric/plots unification, introduce collect test * metrics/plots: refactoring * missing plots test added
13 lines
238 B
Python
13 lines
238 B
Python
import shutil
|
|
|
|
import pytest
|
|
|
|
|
|
@pytest.fixture()
|
|
def custom_template(tmp_dir, dvc):
|
|
template = tmp_dir / "custom_template.json"
|
|
shutil.copy(
|
|
tmp_dir / ".dvc" / "plots" / "default.json", template,
|
|
)
|
|
return template
|