Skip to content

Commit

Permalink
tests: plots: fix plots call (iterative#5183)
Browse files Browse the repository at this point in the history
  • Loading branch information
pared authored Dec 30, 2020
1 parent 34ed545 commit c28e671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/func/plots/test_show.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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])
Expand Down

0 comments on commit c28e671

Please sign in to comment.