Fix the buys in the shortfall and transfer tests

This commit is contained in:
ai-bot committed 2026-11-14 16:11:10 +00:00
1 parent a0714abcf2
commit b7b3daf9b0
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ class LedgerTestCase(unittest.TestCase):
def test_shortfall_names_the_missing_sats(self): def test_shortfall_names_the_missing_sats(self):
market_id = create_market("Lommebok", kind="wallet") market_id = create_market("Lommebok", kind="wallet")
create_transaction(market_id=market_id, date="2024-01-01", create_transaction(market_id=market_id, date="2024-01-01",
leg_in_sats=1, leg_in_ore=100) leg_in_sats=1, leg_out_ore=100)
create_transaction(market_id=market_id, date="2024-02-01", create_transaction(market_id=market_id, date="2024-02-01",
leg_in_ore=100, leg_out_sats=2) leg_in_ore=100, leg_out_sats=2)
with self.assertRaises(ledger.LedgerError) as caught: with self.assertRaises(ledger.LedgerError) as caught: