Ignore:
Timestamp:
17 Mar 2015, 18:41:43 (10 years ago)
Author:
Henrik Bettermann
Message:

Add payment_items to IPayment.

Export attributes too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_export.py

    r12777 r12779  
    105105        self.assertTrue(
    106106            'creation_date,currency,gateway_service,payable_id,payee_id,'
    107             'payer_id,payment_date,payment_id,state,title\r\n'
     107            'payer_id,payment_date,payment_id,payment_items,state,title\r\n'
    108108            in result)
    109109        self.assertMatches(
    110110            '...2015-03-16 16:07:33.273297#,EUR,demo_creditcard,CON1,'
    111             ',K1000000,,%s,64,My Contract...' % self.payment.payment_id,
     111            ',K1000000,,%s,"[(u\'0\', u\'Any product option\', u\'88.8\')]",'
     112            '64,My Contract...' % self.payment.payment_id,
    112113            result
    113114            )
     
    121122        self.assertTrue(
    122123            'creation_date,currency,gateway_service,payable_id,payee_id,'
    123             'payer_id,payment_date,payment_id,state,title\r\n'
     124            'payer_id,payment_date,payment_id,payment_items,state,title\r\n'
    124125            in result)
    125126        self.assertMatches(
    126127            '...2015-03-16 16:07:33.273297#,EUR,demo_creditcard,CON1,'
    127             ',K1000000,,%s,64,My Contract...' % self.payment.payment_id,
     128            ',K1000000,,%s,"[(u\'0\', u\'Any product option\', u\'88.8\')]",'
     129            '64,My Contract...' % self.payment.payment_id,
    128130            result
    129131            )
Note: See TracChangeset for help on using the changeset viewer.