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:
@@ -27,7 +27,7 @@ PRIVATE = [
|
||||
"tasks/a/b.json",
|
||||
"workflow-bench/a-1-1.md",
|
||||
"workflow-bench/a-1-1/README.md",
|
||||
"workflow-bench/judge/a/1/fixes.diff",
|
||||
"workflow-bench/judge/a/A1/fixes.diff",
|
||||
"workflow-bench/logs/a.jsonl",
|
||||
]
|
||||
|
||||
|
||||
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user