Skip to content

Commit e096bbb

Browse files
committed
tests: graphstrategy: skip graphviz test
If graphviz is not available on the system, skip the graph test which requires graphviz. Signed-off-by: Rouven Czerwinski <[email protected]>
1 parent 9b44a07 commit e096bbb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_graphstrategy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ def test_api_works():
155155
# functional tests ############################################################
156156
@pytest.mark.dependency(depends=['api-works'])
157157
def test_graphviz_graph(graph_strategy):
158+
pytest.importorskip("graphviz")
158159
graph_strategy.graph
159160
graph_strategy.graph # trigger the caching branch in the graph code
160161

0 commit comments

Comments
 (0)