mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
fix tests with the new pydot release (#10567)
This commit is contained in:
@@ -133,7 +133,7 @@ def test_show_dot(repo):
|
|||||||
"\"stage: 'b.dvc'\" -> \"stage: '2'\";",
|
"\"stage: 'b.dvc'\" -> \"stage: '2'\";",
|
||||||
"\"stage: 'b.dvc'\" -> \"stage: '3'\";",
|
"\"stage: 'b.dvc'\" -> \"stage: '3'\";",
|
||||||
"\"stage: 'b.dvc'\";",
|
"\"stage: 'b.dvc'\";",
|
||||||
"strict digraph {",
|
"strict digraph {",
|
||||||
"}",
|
"}",
|
||||||
]
|
]
|
||||||
actual = sorted(line.rstrip() for line in _show_dot(repo.index.graph).splitlines())
|
actual = sorted(line.rstrip() for line in _show_dot(repo.index.graph).splitlines())
|
||||||
@@ -153,7 +153,7 @@ def test_show_dot_properly_escapes():
|
|||||||
)
|
)
|
||||||
|
|
||||||
expected = {
|
expected = {
|
||||||
"strict digraph {",
|
"strict digraph {",
|
||||||
'"data\\raw\\2.dvc";',
|
'"data\\raw\\2.dvc";',
|
||||||
'"prepare";',
|
'"prepare";',
|
||||||
'"4";',
|
'"4";',
|
||||||
|
|||||||
Reference in New Issue
Block a user