mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 15:28:28 +01:00
plots: pass all types of plots in --json option
Related: iterative/vscode-dvc#1757
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user