Commit d1acf45
committed
test(spp_programs): add manager, payment, and fund tests (406 → 492 tests)
- test_managers.py: new file with 78 tests covering cycle manager,
entitlement manager, payment manager, program manager, and
deduplication manager (selection refs, state transitions, fund
balance, prepare/approve/cancel flows, constraints)
- test_payment_and_accounting.py: new file with 27 tests covering
spp.payment (creation, status, deletion guards), spp.payment.batch
(linking, cascade delete), spp.program.fund (post/cancel/reset
state machine, deletion guards), account.journal extensions
- test_cycle_auto_approve_fund_check.py: rewritten to use proper
approval mixin workflow (submit → review → approve) instead of
directly setting states; all 6 fund-check tests now pass1 parent 48ee09d commit d1acf45
4 files changed
Lines changed: 2232 additions & 155 deletions
File tree
- spp_programs/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments