File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,7 @@ def test_dot_add_subgraph():
104
104
assert len (d .subgraphs ()) == 1
105
105
assert d .subgraphs ()[0 ].kind () == Dot .Kind .subgraph
106
106
assert (
107
- d .to_string ()
108
- == 'digraph pets {\n \n subgraph cluster_pets {\n label="pets"\n '
107
+ d .to_string () == 'digraph pets {\n \n subgraph cluster_pets {\n label="pets"\n '
109
108
'cluster_pets_cat [label="cat"]\n cluster_pets_dog '
110
109
'[label="dog"]\n cluster_pets_cat -> cluster_pets_dog '
111
110
'[constraint="false"]\n }\n cat\n dog\n cat -> dog\n }'
@@ -144,6 +143,7 @@ def test_dot_colors():
144
143
145
144
def test_dot_kind ():
146
145
d = Dot ()
146
+ d .kind (Dot .Kind .digraph )
147
147
assert d .kind () == Dot .Kind .digraph
148
148
d .kind (Dot .Kind .graph )
149
149
assert d .kind () == Dot .Kind .graph
You can’t perform that action at this time.
0 commit comments