SelectTest called select() against the repository itself, so its expectations depended on which real roles use which: with gitea using fail2ban, a change to fail2ban also selects gitea, and test_two_roles failed with "role without a molecule scenario". The selection tests now run on a temporary tree that holds the roles of ALL and no use of one role by another, like UsersTest, which covers the users. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm