Fix the buys in the fee test
This commit is contained in:
1 parent
bd145f8d8a
commit
3e942c16dd
1 file changed
+2
-2
+2
-2
@@ -193,10 +193,10 @@ class TaxTestCase(unittest.TestCase):
|
|||||||
market_id = create_market("Børs_01")
|
market_id = create_market("Børs_01")
|
||||||
# A buy fee in NOK raises the cost basis.
|
# A buy fee in NOK raises the cost basis.
|
||||||
create_transaction(market_id=market_id, date="2024-01-10",
|
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.
|
# A buy fee in sats lowers the sats received, the cost stays.
|
||||||
create_transaction(market_id=market_id, date="2024-02-10",
|
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.
|
# A sell fee in NOK lowers the proceeds.
|
||||||
create_transaction(market_id=market_id, date="2024-03-10",
|
create_transaction(market_id=market_id, date="2024-03-10",
|
||||||
leg_in_ore=30000000, leg_out_sats=100000000, fee_ore=100000)
|
leg_in_ore=30000000, leg_out_sats=100000000, fee_ore=100000)
|
||||||
|
|||||||
Reference in new issue
Block a user