(tmp_path: Path, nodes: list, links: list)
| 11 | |
| 12 | |
| 13 | def _graph_file(tmp_path: Path, nodes: list, links: list) -> Path: |
| 14 | path = tmp_path / "graph.json" |
| 15 | path.write_text(json.dumps({"directed": False, "multigraph": True, "graph": {}, "nodes": nodes, "links": links})) |
| 16 | return path |
| 17 | |
| 18 | |
| 19 | def test_load_gives_the_same_graph_as_a_plain_load(tmp_path: Path) -> None: |
no outgoing calls
no test coverage detected