37 Commits
Author SHA1 Message Date
ai-bot bd5c59fd07 Fund every test account from the bank 2026-11-16 19:33:37 +00:00
ai-bot fc480c7086 Give the kroner transfer test its own funding 2026-11-16 19:33:32 +00:00
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 29657b6e15 Use the seeded bank in the report test 2026-11-15 18:32:51 +00:00
ai-bot da5d52a8cb Use the seeded bank and the right shortfall 2026-11-15 18:32:46 +00:00
ai-bot b77d8f80e0 Cover that kroner move no figure and the bank is no row 2026-11-15 18:32:34 +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 1cdb31b773 Cover the transfer price and the required loss price 2026-11-15 10:43:01 +00:00
ai-bot d8557f0d70 Count the admin cost in kroner 2026-11-15 10:42:56 +00:00
ai-bot 558aa5cde1 Test the sats fee of a buy and a sell 2026-11-15 10:42:50 +00:00
ai-bot e35384cfa5 Fold the golden kroner fee into the amount sold 2026-11-15 10:42:44 +00:00
ai-bot 0eda493ac7 Add a consumption helper and fold the golden fee into the amount 2026-11-15 10:42:40 +00:00
ai-bot 55ec92d3cf Take the kroner fee out of the fixtures 2026-11-15 10:42:36 +00:00
ai-bot 5b4b5ff4b8 Import validation for the loss test 2026-11-15 10:42:33 +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 03547c2916 Cover the admin cost totals and the bitcoin price 2026-11-14 18:19:27 +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 9d55ee40f9 Assert the buy kept its sats, so only the sale consumed 2026-11-14 16:13:54 +00:00
ai-bot 3e942c16dd Fix the buys in the fee test 2026-11-14 16:11:26 +00:00
ai-bot bd145f8d8a Fix the buys in the custody totals test 2026-11-14 16:11:23 +00:00
ai-bot b9099cb522 Fix the buys in the non-taxable test 2026-11-14 16:11:20 +00:00
ai-bot b364d81c6e Fix the golden example: a buy carries the NOK on leg_out_ore 2026-11-14 16:11:17 +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 05dd8cbbc8 Use the returned market id for the dependant account 2026-11-14 14:30:31 +00:00
ai-bot 0fecd5250c Add tests/test_tax.py for the year report of spec section 6 2026-11-14 14:30:24 +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
ai-bot 83ed331018 Add the tests package marker 2026-11-14 14:30:02 +00:00