changeset 12:992bfc9c7841

Fix doctest in README
author Cédric Krier <ced@b2ck.com>
date Thu, 05 Mar 2015 09:46:26 +0100
parents 66abac370964
children 70fa31a08828
files README
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/README	Wed Feb 04 11:38:34 2015 +0100
+++ b/README	Thu Mar 05 09:46:26 2015 +0100
@@ -42,8 +42,8 @@
 The transactions::
 
     >>> len(statement.transactions)
-    1
-    >>> transaction, = statement.transactions
+    3
+    >>> transaction, _, _ = statement.transactions
     >>> transaction.date
     datetime.date(2012, 5, 12)
     >>> transaction.booking
@@ -54,7 +54,7 @@
     'N654'
     >>> transaction.reference
     'NONREF'
-    >>> transaction.account
+    >>> transaction.additional_data
     '987654321'
     >>> transaction.description # doctest: +NORMALIZE_WHITESPACE
     '/TRTP/SEPA OVERBOEKING/IBAN/FR12345678901234/BIC/GEFRADAM\n/NAME/QASD JGRED/REMI/Dit zijn de omschrijvingsregels/EREF/NOTPRO\nVIDED'