- Timestamp:
- 25 Mar 2021, 11:24:25 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/tests/test_export.py
r16403 r16434 69 69 # set values we can expect in export file 70 70 self.setup_student(self.student) 71 self.student['payments']['my-payment'].r_company = 'interswatch' 71 self.student['payments']['my-payment'].r_company = 'interswitch' 72 self.student['payments']['my-payment'].p_option = 'first' 72 73 self.student['payments']['my-payment'].r_card_num = '789' 73 74 exporter = CustomStudentPaymentExporter() … … 76 77 self.assertMatches( 77 78 'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,' 78 'p_id,p_item,p_level,p_ session,p_state,payment_date,provider_amt,'79 'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,' 79 80 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 80 81 'r_pay_reference,thirdparty_amt,student_id,state,' 81 82 'current_session,entry_session\r\n' 82 83 '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,' 83 '100, %s,paid,%s-04-01 14:12:01#,,12.12,'84 '789,r-code,intersw atch,,,,A111111,created,2012,2010\r\n'84 '100,first,%s,paid,%s-04-01 14:12:01#,,12.12,' 85 '789,r-code,interswitch,,,,A111111,created,2012,2010\r\n' 85 86 % (curr_year-6, curr_year-6, curr_year-6), result 86 87 )
Note: See TracChangeset for help on using the changeset viewer.