MCPcopy
hub / github.com/marimo-team/marimo / test_graph_single_node

Function test_graph_single_node

tests/_runtime/test_dataflow.py:22–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_graph_single_node() -> None:
23 code = "x = 0"
24 graph = dataflow.DirectedGraph()
25 cell = parse_cell(code)
26 graph.register_cell("0", cell)
27 assert graph.cells == {"0": cell}
28 assert graph.parents == {"0": set()}
29 assert graph.children == {"0": set()}
30
31
32def test_graph_two_chains() -> None:

Callers

nothing calls this directly

Calls 1

register_cellMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…