MCPcopy Create free account
hub / github.com/microsoft/Webwright / test_plugin_manifests_exist

Function test_plugin_manifests_exist

tests/unit/test_doctor.py:59–74  ·  view source on GitHub ↗
(tmp_path, monkeypatch)

Source from the content-addressed store, hash-verified

57
58
59def 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
77def test_plugin_manifests_missing(tmp_path, monkeypatch):

Callers

nothing calls this directly

Calls 1

check_plugin_manifestsFunction · 0.90

Tested by

no test coverage detected