Added invokable paths for role categories

This commit is contained in:
2025-07-10 18:28:39 +02:00
parent 12d833d20c
commit 74ebb375d0
6 changed files with 227 additions and 5 deletions

View File

@@ -28,7 +28,8 @@ class TestCategoryPaths(unittest.TestCase):
# Nested subcategories (keys other than metadata)
for sub_key in attrs:
if sub_key in ('title', 'description', 'icon', 'children'):
# Skip metadata keys
if sub_key in ('title', 'description', 'icon', 'children', 'invokable'):
continue
expected.add(f"{top_key}-{sub_key}")