Ignore:
Timestamp:
4 Jan 2023, 13:13:37 (23 months ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r17255 r17257  
    1     import datetime
     1import datetime
    22from zope.component import queryUtility
    33from zope.interface.verify import verifyObject, verifyClass
     
    9595
    9696    def test_export_all(self):
    97         # we can really export students
     97        # we can really export student payments
    9898        # set values we can expect in export file
    9999        self.setup_student(self.student)
     
    104104        result = open(self.outfile, 'rb').read()
    105105        self.assertMatches(
    106             'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,'
     106            'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_currency,p_current,'
    107107            'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,'
    108108            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    109             'r_pay_reference,rebate_amount,staff_rebate,thirdparty_amt,student_id,state,'
     109            'r_pay_reference,r_payment_link,rebate_amount,staff_rebate,thirdparty_amt,student_id,state,'
    110110            'current_session\r\n'
    111             '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,'
     111            '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],,1,my-id,p-item,'
    112112            '100,,%s,paid,%s-04-01 14:12:01#,,12.12,'
    113             '789,r-code,interswatch,,,,,,A111111,created,2012\r\n'
     113            '789,r-code,interswatch,,,,,,,A111111,created,2012\r\n'
    114114            % (curr_year-6, curr_year-6, curr_year-6), result
    115115            )
Note: See TracChangeset for help on using the changeset viewer.