From ba8bad83abf83ad7efdfab206160211cc97071b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 11 Mar 2014 12:02:24 +0100 Subject: [PATCH] Fix wrong object set as account_number in unittest --- tests/test_account_payment_sepa.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_account_payment_sepa.py b/tests/test_account_payment_sepa.py index c8d05961fd..8f481c274f 100644 --- a/tests/test_account_payment_sepa.py +++ b/tests/test_account_payment_sepa.py @@ -74,10 +74,11 @@ class AccountPaymentSepaTestCase(unittest.TestCase): 'type': 'iban', 'number': 'ES3600000000050000000001', }])]}]) + customer_account_number, = customer_account.numbers self.mandate.create([{ 'company': company, 'party': customer, - 'account_number': customer_account, + 'account_number': customer_account_number, 'identification': 'MANDATE', 'type': 'recurrent', 'signature_date': self.date.today(),