plots: pass all types of plots in --json option

Related: iterative/vscode-dvc#1757
This commit is contained in:
Paweł Redzyński
2022-09-27 14:23:42 +02:00
parent 6bd14b21ef
commit 25ea5f35ec
8 changed files with 215 additions and 105 deletions
-4
View File
@@ -334,10 +334,6 @@ def test_plots_diff_json(dvc, mocker, capsys):
)
render_mock = mocker.patch("dvc_render.render_html")
show_json_mock = mocker.patch(
"dvc.commands.plots._filter_unhandled_renderers",
return_value=renderers,
)
show_json_mock = mocker.patch("dvc.commands.plots._show_json")
assert cmd.run() == 0