@@ -39,7 +39,8 @@ def test_visualize_simple_graph():
3939 "\t a -> href_a [dir=back]\n "
4040 '\t kw_foo [label="kw:foo"]\n '
4141 "\t a -> kw_foo [dir=both]\n "
42- '\t b [label="b\n <some\n more content>" shape=note tooltip="<some\n more content>"]\n '
42+ '\t b [label="b\n <some\n more content>" '
43+ 'shape=note tooltip="<some\n more content>"]\n '
4344 '\t href_b [label="href:b"]\n '
4445 "\t b -> href_b [dir=back]\n "
4546 "\t b -> href_a [dir=forward]\n "
@@ -55,12 +56,14 @@ def test_visualize_simple_graph():
5556 "digraph {\n "
5657 "\t rankdir=LR\n "
5758 "\t node [style=filled]\n "
58- '\t a [label="a\n some content" fillcolor=gold shape=note tooltip="some content"]\n '
59+ '\t a [label="a\n some content" fillcolor=gold '
60+ 'shape=note tooltip="some content"]\n '
5961 '\t href_a [label="href:a"]\n '
6062 "\t a -> href_a [dir=back]\n "
6163 '\t kw_foo [label="kw:foo"]\n '
6264 "\t a -> kw_foo [dir=both]\n "
63- '\t b [label="b\n <some\n more content>" shape=note tooltip="<some\n more content>"]\n '
65+ '\t b [label="b\n <some\n more content>" '
66+ 'shape=note tooltip="<some\n more content>"]\n '
6467 '\t href_b [label="href:b"]\n '
6568 "\t b -> href_b [dir=back]\n "
6669 "\t b -> href_a [dir=forward]\n "
@@ -70,7 +73,9 @@ def test_visualize_simple_graph():
7073 "}\n "
7174 )
7275
73- assert render_graphviz ([doc1 , doc2 ], node_color = "gold" , node_colors = {"a" : None }).source == (
76+ assert render_graphviz (
77+ [doc1 , doc2 ], node_color = "gold" , node_colors = {"a" : None }
78+ ).source == (
7479 "digraph {\n "
7580 "\t rankdir=LR\n "
7681 "\t node [style=filled]\n "
@@ -79,7 +84,8 @@ def test_visualize_simple_graph():
7984 "\t a -> href_a [dir=back]\n "
8085 '\t kw_foo [label="kw:foo"]\n '
8186 "\t a -> kw_foo [dir=both]\n "
82- '\t b [label="b\n <some\n more content>" fillcolor=gold shape=note tooltip="<some\n more content>"]\n '
87+ '\t b [label="b\n <some\n more content>" fillcolor=gold '
88+ 'shape=note tooltip="<some\n more content>"]\n '
8389 '\t href_b [label="href:b"]\n '
8490 "\t b -> href_b [dir=back]\n "
8591 "\t b -> href_a [dir=forward]\n "
0 commit comments