✅ Expired effects not in get active
| Category | Ability |
| Status | Passing |
| Test | tests/test_status_effects.py::test_expired_effects_not_in_get_active |
Duban has one expired effect and one active effect.
Preconditions
-
phase_counter=2
-
Lane 0: P2's Duban (#001)
-
Duban has effect expires_phase=1 (EXPIRED)
-
Duban has effect expires_phase=2 (ACTIVE)
Action
- get_active_effects_on(state, duban)
Expected Postconditions
-
Returns a list with exactly 1 effect
-
The returned effect has expires_phase=2 (the active one)
-
The expired effect is NOT included
Assertions
assert len(active) == 1
assert active[0].expires_phase == 2