Fix CAMT054 unittest to use classmethod save
changeset 8aa8dd40f7b6 changed the instancemethod save call by a class call.
This commit is contained in:
1 parent
c6b8ed5637
commit
d37bdc2f45
1 file changed
+1
-1
@@ -354,7 +354,7 @@ class AccountPaymentSepaTestCase(unittest.TestCase):
|
||||
is_returned.return_value = True
|
||||
handler = CAMT054(BytesIO(message), Payment)
|
||||
|
||||
payment.save.assert_called_with()
|
||||
Payment.save.assert_called_with([payment])
|
||||
Payment.fail.assert_called_with([payment])
|
||||
|
||||
def test_camt054_001_01(self):
|
||||
|
||||
Reference in new issue
Block a user