mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
refactor: rename dvc.command to dvc.commands
This commit is contained in:
committed by
Saugat Pachhai
parent
1b3e1251e6
commit
446516d788
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user