()
| 336 | |
| 337 | |
| 338 | def test_graph_diff_empty_diff(): |
| 339 | nodes = [("n1", "Alpha"), ("n2", "Beta")] |
| 340 | edges = [("n1", "n2", "calls", "EXTRACTED")] |
| 341 | G_old = _make_simple_graph(nodes, edges) |
| 342 | G_new = _make_simple_graph(nodes, edges) |
| 343 | diff = graph_diff(G_old, G_new) |
| 344 | assert diff["new_nodes"] == [] |
| 345 | assert diff["removed_nodes"] == [] |
| 346 | assert diff["new_edges"] == [] |
| 347 | assert diff["removed_edges"] == [] |
| 348 | assert diff["summary"] == "no changes" |
| 349 | |
| 350 | |
| 351 | def _make_marked_graph(src, tgt): |
nothing calls this directly
no test coverage detected