From c28e671f476000d02809b85f85c0f12f24a51008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Redzy=C5=84ski?= Date: Wed, 30 Dec 2020 21:59:32 +0100 Subject: [PATCH] tests: plots: fix plots call (#5183) --- tests/func/plots/test_show.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/func/plots/test_show.py b/tests/func/plots/test_show.py index da2816ec4..1d5cc40d6 100644 --- a/tests/func/plots/test_show.py +++ b/tests/func/plots/test_show.py @@ -716,7 +716,7 @@ def test_show_malformed_plots(tmp_dir, scm, dvc, caplog): tmp_dir.gen("plot.json", '[{"m":1]') with pytest.raises(NoMetricsParsedError): - dvc.metrics.show(targets=["plot.json"]) + dvc.plots.show(targets=["plot.json"]) def test_plots_show_no_target(tmp_dir, dvc): @@ -726,7 +726,7 @@ def test_plots_show_no_target(tmp_dir, dvc): def test_show_no_plots_files(tmp_dir, dvc, caplog): with pytest.raises(NoMetricsFoundError): - dvc.metrics.show() + dvc.plots.show() @pytest.mark.parametrize("clear_before_run", [True, False])