mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user