aboutsummaryrefslogtreecommitdiffstats
path: root/tests/integration/test_live.py
AgeCommit message (Collapse)AuthorFilesLines
7 daysfeat(piggy): piggy list/add/remove (v0.6.0)HEADv0.6.0masterDanilo M.1-0/+43
New `piggy` group: - `piggy list` lists piggy banks with saved/target amounts and linked accounts. - `piggy add|remove <name|id> <amount> [--account NAME]` changes the saved amount on a linked account via PUT /piggy-banks/{id}. Firefly syncs the whole account list on that PUT, so every linked account is resent (others without current_amount, which keeps their value) or it would be unlinked. Removing below zero is rejected before any write, and the saved amount is read back so a refused add fails loudly instead of returning 200 unchanged. add/remove currently hit an upstream bug on Firefly III <= 6.7.9: PiggyBankFactory::linkToAccountIds passes the pivot current_amount (an int from the DB) to bcsub() uncast, so any PUT with "accounts" 500s (firefly-iii/firefly-iii#13063). Documented in SKILL.md/README; the live integration test skips on that error and runs once upstream is fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-06-30test: gated live integration tests, self-cleaningDanilo M.1-0/+56
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>