(zip_path: str, target_dir: str)
| 429 | _mock_missing_requirements(monkeypatch, {"networkx"}) |
| 430 | |
| 431 | def mock_unzip_file(zip_path: str, target_dir: str) -> None: |
| 432 | assert zip_path == str(zip_file_path) |
| 433 | plugin_path = Path(target_dir) |
| 434 | _write_local_test_plugin(plugin_path, TEST_PLUGIN_REPO) |
| 435 | _write_requirements(plugin_path) |
| 436 | |
| 437 | monkeypatch.setattr(plugin_manager_pm.updator, "unzip_file", mock_unzip_file) |
| 438 | monkeypatch.setattr( |
nothing calls this directly
no test coverage detected