()
| 6 | |
| 7 | |
| 8 | def test_calculate_diff(): |
| 9 | old = Path(__file__).parent / "testdata" / "pyodide-lock-0.27.7.json" |
| 10 | new = Path(__file__).parent / "testdata" / "pyodide-lock-0.28.0a3.json" |
| 11 | |
| 12 | added, removed, changed = calculate_diff(old, new) |
| 13 | assert "platformdirs" in [pkg.name for pkg in added] |
| 14 | assert "sharedlib-test-py" in [pkg.name for pkg in removed] |
| 15 | assert "numpy" in [pkg.name for pkg in changed] |
nothing calls this directly
no test coverage detected
searching dependent graphs…