mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
@@ -165,12 +165,12 @@ def test_show_mermaid(repo):
|
||||
line.rstrip() for line in _show_mermaid(repo.index.graph).splitlines()
|
||||
] == [
|
||||
"flowchart TD",
|
||||
"\tnode1[stage: '1']",
|
||||
"\tnode2[stage: '2']",
|
||||
"\tnode3[stage: '3']",
|
||||
"\tnode4[stage: '4']",
|
||||
"\tnode5[stage: 'a.dvc']",
|
||||
"\tnode6[stage: 'b.dvc']",
|
||||
"\tnode1[\"stage: '1'\"]",
|
||||
"\tnode2[\"stage: '2'\"]",
|
||||
"\tnode3[\"stage: '3'\"]",
|
||||
"\tnode4[\"stage: '4'\"]",
|
||||
"\tnode5[\"stage: 'a.dvc'\"]",
|
||||
"\tnode6[\"stage: 'b.dvc'\"]",
|
||||
"\tnode3-->node4",
|
||||
"\tnode5-->node1",
|
||||
"\tnode5-->node3",
|
||||
@@ -190,12 +190,12 @@ def test_show_mermaid_markdown(repo, dvc, capsys, mocker):
|
||||
] == [
|
||||
"```mermaid",
|
||||
"flowchart TD",
|
||||
"\tnode1[stage: '1']",
|
||||
"\tnode2[stage: '2']",
|
||||
"\tnode3[stage: '3']",
|
||||
"\tnode4[stage: '4']",
|
||||
"\tnode5[stage: 'a.dvc']",
|
||||
"\tnode6[stage: 'b.dvc']",
|
||||
"\tnode1[\"stage: '1'\"]",
|
||||
"\tnode2[\"stage: '2'\"]",
|
||||
"\tnode3[\"stage: '3'\"]",
|
||||
"\tnode4[\"stage: '4'\"]",
|
||||
"\tnode5[\"stage: 'a.dvc'\"]",
|
||||
"\tnode6[\"stage: 'b.dvc'\"]",
|
||||
"\tnode3-->node4",
|
||||
"\tnode5-->node1",
|
||||
"\tnode5-->node3",
|
||||
|
||||
Reference in New Issue
Block a user