summaryrefslogtreecommitdiff
path: root/test_ledger_process.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_ledger_process.py')
-rw-r--r--test_ledger_process.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test_ledger_process.py b/test_ledger_process.py
index 092619a..fbbae1d 100644
--- a/test_ledger_process.py
+++ b/test_ledger_process.py
@@ -1,5 +1,6 @@
import unittest
from decimal import Decimal
+from exceptions import MismatchedTradeError
from ledger_action import LedgerAction
from ledger_process import LedgerProcess
@@ -48,7 +49,7 @@ class TestLedgerProcess(unittest.TestCase):
timestamp="2025-04-17 10:00:00",
refid="12345",
)
- with self.assertRaises(ValueError):
+ with self.assertRaises(MismatchedTradeError):
self.lp.process_ledger([crypto_trade]) # EUR row missing
def test_unsupported_deposit(self):