refactor: rename dvc.command to dvc.commands

This commit is contained in:
Saugat Pachhai (सौगात)
2022-01-19 19:41:40 +05:45
committed by Saugat Pachhai
parent 1b3e1251e6
commit 446516d788
82 changed files with 98 additions and 98 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import os
import pytest
from dvc.cli import parse_args
from dvc.command.diff import _digest, _show_markdown
from dvc.commands.diff import _digest, _show_markdown
@pytest.mark.parametrize(
@@ -197,7 +197,7 @@ def test_diff_show_markdown_and_hash(mocker, show_hash):
diff = {}
show_hash = show_hash if show_hash else False
mock_show_markdown = mocker.patch("dvc.command.diff._show_markdown")
mock_show_markdown = mocker.patch("dvc.commands.diff._show_markdown")
mocker.patch("dvc.repo.Repo.diff", return_value=diff.copy())
assert 0 == cmd.run()