MCPcopy
hub / github.com/treeverse/dvc / custom_template

Function custom_template

tests/conftest.py:165–170  ·  view source on GitHub ↗
(tmp_dir, dvc)

Source from the content-addressed store, hash-verified

163
164@pytest.fixture
165def custom_template(tmp_dir, dvc):
166 from dvc_render.vega_templates import SimpleLinearTemplate
167
168 template = tmp_dir / "custom_template.json"
169 template.write_text(json.dumps(SimpleLinearTemplate.DEFAULT_CONTENT))
170 return template
171
172
173@pytest.fixture(autouse=True)

Callers

nothing calls this directly

Calls 1

write_textMethod · 0.80

Tested by

no test coverage detected