(tmp_path)
| 27 | |
| 28 | |
| 29 | def _project(tmp_path): |
| 30 | src = tmp_path / "src" |
| 31 | src.mkdir() |
| 32 | f = src / "mod.py" |
| 33 | f.write_text("def x():\n return 1\n", encoding="utf-8") |
| 34 | out = tmp_path / "graphify-out" |
| 35 | out.mkdir() |
| 36 | (out / "manifest.json").write_text(json.dumps({"src/mod.py": {"mtime": 1}}), encoding="utf-8") |
| 37 | time.sleep(0.02) |
| 38 | (out / "graph.json").write_text('{"nodes":[],"links":[]}', encoding="utf-8") |
| 39 | return f |
| 40 | |
| 41 | |
| 42 | def _env(tmp_path): |
no outgoing calls
no test coverage detected