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 f96aab0 commit c3a913dCopy full SHA for c3a913d
tests/test_widget.py
@@ -0,0 +1,7 @@
1
+from graphviz_anywidget import GraphvizWidget
2
+
3
4
+def test_widget() -> None:
5
+ dot_string = "digraph { a -> b; b -> c; c -> a; }"
6
+ pipe_func_graph_widget = GraphvizWidget(dot_source=dot_string)
7
+ assert pipe_func_graph_widget.dot_source == dot_string
0 commit comments