Commit Graph
17 Commits
Author SHA1 Message Date
ai-bot e50fa28143 Add a helper that finds the sale 2026-11-16 19:33:24 +00:00
ai-bot e1b0b9b568 Find the sale by its legs, not by a fixed id 2026-11-16 19:33:20 +00:00
ai-bot e72232fe3c Fund every test account from the bank 2026-11-16 19:33:15 +00:00
ai-bot da5d52a8cb Use the seeded bank and the right shortfall 2026-11-15 18:32:46 +00:00
ai-bot ce6f041032 Cover the kroner balance, the refusal and the bank 2026-11-15 18:32:28 +00:00
ai-bot 2e6a10ef63 Give the rebuild fixture a kroner admin cost too 2026-11-15 10:43:20 +00:00
ai-bot 8cadc1843d Give the admin cost fixture a kroner amount 2026-11-15 10:43:15 +00:00
ai-bot 2dec33737e Test that a transfer sends what arrives and keeps the price 2026-11-15 10:41:59 +00:00
ai-bot f476d86bc5 Fold the golden kroner fee into the amount sold 2026-11-15 10:41:53 +00:00
ai-bot b6c5587671 Take the kroner fee out of the fixtures 2026-11-15 10:41:48 +00:00
ai-bot 4bd4e155bc Cover the lot price field and that admin_cost touches no lots 2026-11-14 18:19:02 +00:00
ai-bot bcacf5c201 Fix the buy in the transfer test 2026-11-14 16:11:13 +00:00
ai-bot b7b3daf9b0 Fix the buys in the shortfall and transfer tests 2026-11-14 16:11:10 +00:00
ai-bot a0714abcf2 Fix the buys in the three-lot and hand-picked tests 2026-11-14 16:11:08 +00:00
ai-bot 731ebde801 Fix the buy in the partial consumption test 2026-11-14 16:11:05 +00:00
ai-bot 533a2af89d Fix the golden example: a buy carries the NOK on leg_out_ore 2026-11-14 16:11:02 +00:00
ai-bot 88b60de2bd Add tests/test_ledger.py for the lot ledger of spec section 5 2026-11-14 14:30:13 +00:00