Fix the buys in the fee test

This commit is contained in:
ai-bot committed 2026-11-14 16:11:26 +00:00
1 parent bd145f8d8a
commit 3e942c16dd
1 file changed
+2 -2
+2 -2
View File
@@ -193,10 +193,10 @@ class TaxTestCase(unittest.TestCase):
market_id = create_market("Børs_01")
# A buy fee in NOK raises the cost basis.
create_transaction(market_id=market_id, date="2024-01-10",
leg_in_sats=100000000, leg_in_ore=20000000, fee_ore=50000)
leg_in_sats=100000000, leg_out_ore=20000000, fee_ore=50000)
# A buy fee in sats lowers the sats received, the cost stays.
create_transaction(market_id=market_id, date="2024-02-10",
leg_in_sats=100000000, leg_in_ore=20000000, fee_sats=100000)
leg_in_sats=100000000, leg_out_ore=20000000, fee_sats=100000)
# A sell fee in NOK lowers the proceeds.
create_transaction(market_id=market_id, date="2024-03-10",
leg_in_ore=30000000, leg_out_sats=100000000, fee_ore=100000)