diff --git a/tests/test_account_payment_sepa.py b/tests/test_account_payment_sepa.py index 0de75fc888..3fee67309b 100644 --- a/tests/test_account_payment_sepa.py +++ b/tests/test_account_payment_sepa.py @@ -178,6 +178,12 @@ class AccountPaymentSepaTestCase(unittest.TestCase): mandate = Mandate(party=party, identification='') mandate.save() + self.assertEqual(mandate.identification, None) + + Mandate.write([mandate], { + 'identification': '', + }) + self.assertEqual(mandate.identification, None) self.assertRaises(UserError, Mandate.create, [{ 'party': party.id,