✅ Clear registries removes handlers
| Category | Ability |
| Status | Passing |
| Test | tests/test_abilities_registry.py::test_clear_registries_removes_handlers |
Register a handler, then call clear_registries.
Preconditions
- Handler registered for ("003", 0)
Action
-
clear_registries()
-
can_use_ability(state, demon, 0)
Expected Postconditions
- can_use_ability returns False ("no handler registered...")
Assertions
assert ok is False
assert "no handler" in reason.lower()