🐛 fix(thirdparty): exclude duplicated superpowers skills
This commit is contained in:
@@ -33,6 +33,11 @@ class ThirdpartySkillsPipelineTests(unittest.TestCase):
|
||||
self.assertEqual(ui_skill["sync_mode"], "render_codex_skill")
|
||||
self.assertEqual(ui_skill["snapshot_dir"], "ui-ux-pro-max")
|
||||
|
||||
def test_superpowers_manifest_excludes_ui_ux_pro_max_from_copy_mode(self):
|
||||
data = load_manifest()
|
||||
superpowers = next(item for item in data["sources"] if item["id"] == "superpowers")
|
||||
self.assertEqual(superpowers["exclude_skill_dirs"], ["ui-ux-pro-max"])
|
||||
|
||||
def test_workflow_uses_generic_scripts_and_single_serial_job(self):
|
||||
text = WORKFLOW.read_text(encoding="utf-8")
|
||||
self.assertFalse(LEGACY_WORKFLOW.exists())
|
||||
@@ -97,6 +102,8 @@ class ThirdpartySkillsPipelineTests(unittest.TestCase):
|
||||
self.assertIn('"\\x1f".join(', text)
|
||||
self.assertIn("while IFS=$'\\x1f' read -r", text)
|
||||
self.assertNotIn("while IFS=$'\\t' read -r", text)
|
||||
self.assertIn("exclude_skill_dirs", text)
|
||||
self.assertIn('if is_excluded_skill_dir "$name" "$exclude_skill_dirs"; then', text)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user