mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-21 15:28:29 +01:00
* metrics: include revision information when collecting metrics files * plots: test warning message on no plot on revision * plots/metrics: move to one package, introduce common tests * tests: fix utils placement
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
|