Answer the first round: fold the changelog's install lines, say why settings.json declares the marketplace, the bench judge's real path

This commit is contained in:
2026-10-03 00:17:34 +02:00
parent 835ffe422c
commit 9d0b1fd810
5 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -5,11 +5,12 @@ from test_python_floor import ROOT
class Install(unittest.TestCase):
def test_the_readme_installs_every_enabled_plugin_from_a_declared_marketplace(self):
def test_the_readme_adds_each_settings_marketplace_and_installs_every_enabled_plugin(self):
settings = json.loads((ROOT / "settings.json").read_text(encoding="utf-8"))
readme = (ROOT / "README.md").read_text(encoding="utf-8")
for plugin, enabled in settings["enabledPlugins"].items():
if enabled:
self.assertIn(f"claude plugin install {plugin}\n", readme)
# Declared, or `claude plugin marketplace add` writes it into this tracked file.
marketplace = settings["extraKnownMarketplaces"][plugin.split("@")[1]]["source"]["repo"]
self.assertIn(f"claude plugin marketplace add {marketplace}\n", readme)