fix(tests): hoist ROLE_CONFIGS import in the subagent invariant test

PLC0415 red on master's quality gate — the module already imports
ROLE_CONFIGS at top level; the function-level re-import from #372's
invariant test is deleted.
This commit is contained in:
Renn F
2026-07-09 18:40:12 +02:00
parent 7bc42ec114
commit e1a8734daa
-2
View File
@@ -50,8 +50,6 @@ class TestRoleConfigCatalog:
def test_no_role_allows_subagents(self) -> None:
# Fleet-wide invariant (CEO, 2026-07-09): not a single role fans out.
from roboco.services.gateway.role_config import ROLE_CONFIGS
for role, cfg in ROLE_CONFIGS.items():
assert cfg.allows_subagent is False, role