mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-06 07:18:28 +01:00
plots: Rename template_path to html_template.
This commit is contained in:
@@ -150,7 +150,7 @@ class CmdPlots(CmdBase):
|
||||
render_html(
|
||||
renderers=renderers,
|
||||
output_file=output_file,
|
||||
template_path=self._html_template_path(),
|
||||
html_template=self._html_template_path(),
|
||||
)
|
||||
|
||||
ui.write(output_file.as_uri())
|
||||
|
||||
@@ -285,7 +285,7 @@ def test_should_call_render(tmp_dir, mocker, capsys, plots_data, output):
|
||||
render_mock.assert_called_once_with(
|
||||
renderers=renderers,
|
||||
output_file=Path(tmp_dir / output / "index.html"),
|
||||
template_path=None,
|
||||
html_template=None,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user