mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
refactor: rename dvc.command to dvc.commands
This commit is contained in:
committed by
Saugat Pachhai
parent
1b3e1251e6
commit
446516d788
@@ -2,7 +2,7 @@ import networkx as nx
|
||||
import pytest
|
||||
|
||||
from dvc.cli import parse_args
|
||||
from dvc.command.dag import CmdDAG, _build, _show_ascii, _show_dot
|
||||
from dvc.commands.dag import CmdDAG, _build, _show_ascii, _show_dot
|
||||
|
||||
|
||||
@pytest.mark.parametrize("fmt", [None, "--dot"])
|
||||
@@ -17,7 +17,7 @@ def test_dag(tmp_dir, dvc, mocker, fmt):
|
||||
|
||||
cmd = cli_args.func(cli_args)
|
||||
|
||||
mocker.patch("dvc.command.dag._build", return_value=dvc.index.graph)
|
||||
mocker.patch("dvc.commands.dag._build", return_value=dvc.index.graph)
|
||||
|
||||
assert cmd.run() == 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user