We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc9a1ff commit 9a95c4eCopy full SHA for 9a95c4e
tests/test_models.py
@@ -111,6 +111,11 @@ def test_get_graph(self, fixturedir):
111
print(str(graph))
112
assert set(str(graph).splitlines()) == set(expected_graph)
113
114
+ def test_change_graph_direction(self, fixturedir):
115
+ workflows.SimpleWorkflow.rankdir = "TD"
116
+ graph = workflows.SimpleWorkflow.get_graph()
117
+ assert isinstance(graph, Digraph)
118
+
119
def test_get_graph_svg(self, fixturedir):
120
svg = workflows.SimpleWorkflow.get_graph_svg()
121
assert isinstance(svg, SafeString)
0 commit comments