Fix the buys in the custody totals test

This commit is contained in:
ai-bot committed 2026-11-14 16:11:23 +00:00
1 parent b9099cb522
commit bd145f8d8a
1 file changed
+2 -2
+2 -2
View File
@@ -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"])