(tmp_path, monkeypatch)
| 57 | |
| 58 | |
| 59 | def test_plugin_manifests_exist(tmp_path, monkeypatch): |
| 60 | monkeypatch.chdir(tmp_path) |
| 61 | |
| 62 | claude_dir = tmp_path / ".claude-plugin" |
| 63 | codex_dir = tmp_path / ".codex-plugin" |
| 64 | |
| 65 | claude_dir.mkdir() |
| 66 | codex_dir.mkdir() |
| 67 | |
| 68 | (claude_dir / "plugin.json").write_text("{}") |
| 69 | (codex_dir / "plugin.json").write_text("{}") |
| 70 | |
| 71 | ok, message = check_plugin_manifests() |
| 72 | |
| 73 | assert ok is True |
| 74 | assert "found" in message |
| 75 | |
| 76 | |
| 77 | def test_plugin_manifests_missing(tmp_path, monkeypatch): |
nothing calls this directly
no test coverage detected