From bd145f8d8addbe643246f45e254af62e9455f249 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sat, 14 Nov 2026 16:11:23 +0000 Subject: [PATCH] Fix the buys in the custody totals test --- tests/test_tax.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_tax.py b/tests/test_tax.py index e1af7bf..4ee0826 100644 --- a/tests/test_tax.py +++ b/tests/test_tax.py @@ -181,9 +181,9 @@ class TaxTestCase(unittest.TestCase): exchange = create_market("Børs_01") child = create_market("Barn", kind="other", taxable=0, custody_market_id=exchange) create_transaction(market_id=exchange, date="2024-01-10", - leg_in_sats=150000000, leg_in_ore=30000000) + leg_in_sats=150000000, leg_out_ore=30000000) create_transaction(market_id=child, date="2024-01-10", - leg_in_sats=50000000, leg_in_ore=10000000) + leg_in_sats=50000000, leg_out_ore=10000000) ledger.rebuild() rows = tax.report(2024)["custody_totals"] self.assertEqual([row["name"] for row in rows], ["Børs_01"])