- Timestamp:
- 11 Jun 2018, 07:29:33 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py
r14741 r15045 29 29 from kofacustom.nigeria.testing import FunctionalLayer 30 30 31 curr_year = datetime.datetime.now().year 31 32 32 33 class NigeriaStudentExporterTest(StudentImportExportSetup): … … 115 116 # set values we can expect in export file 116 117 self.setup_student(self.student) 117 self.student['payments']['my-payment'].r_company = 'intersw atch'118 self.student['payments']['my-payment'].r_company = 'interswitch' 118 119 self.student['payments']['my-payment'].r_card_num = '789' 119 120 exporter = NigeriaStudentPaymentExporter() … … 127 128 'current_session\r\n' 128 129 '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,' 129 '100, 2011,paid,2012-04-01 14:12:01#,,12.12,'130 '789,r-code,intersw atch,,,,A111111,created,2012\r\n',130 '100,%s,paid,2012-04-01 14:12:01#,,12.12,' 131 '789,r-code,interswitch,,,,A111111,created,2012\r\n' % (curr_year-6), 131 132 result 132 133 )
Note: See TracChangeset for help on using the changeset viewer.