- Timestamp:
- 25 Jun 2018, 09:44:43 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r15051 r15060 1239 1239 super(SessionPaymentsOverviewExporterTest, self).setUp() 1240 1240 self.setup_for_export() 1241 grok.getSite()['configuration'].current_academic_session = curr_year - 4 1241 1242 return 1242 1243 … … 1262 1263 'student_id,matric_number,display_fullname,state,certcode,' 1263 1264 'faccode,depcode,is_postgrad,current_level,current_session,' 1264 'current_mode,entry_session,reg_number,schoolfee,clearance,' 1265 'gown,transcript\r\n' 1266 'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,2012,' 1267 'ug_ft,2010,123,2012,,,' in result 1265 'current_mode,entry_session,reg_number,schoolfee12,' 1266 'schoolfee13,schoolfee14,clearance12,clearance13,clearance14,' 1267 'gown12,gown13,gown14,transcript12,transcript13,transcript14\r\n' 1268 'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,' 1269 '2012,ug_ft,2010,123,' 1270 '12.12,,,,,,,,,,,\r\n' in result 1268 1271 ) 1269 1272 return 1270 1273 1271 1274 def test_export_all(self): 1272 # we can really export students1273 # set values we can expect in export file1274 1275 self.setup_student(self.student) 1275 1276 # We add successful payments. … … 1302 1303 result = open(self.outfile, 'rb').read() 1303 1304 self.assertTrue( 1304 'student_id,matric_number,display_fullname,state,certcode,' 1305 'faccode,depcode,is_postgrad,current_level,current_session,' 1306 'current_mode,entry_session,reg_number,schoolfee,clearance,' 1307 'gown,transcript\r\nA111111,234,Anna M. Tester,created,CERT1,' 1308 'NA,NA,0,200,2012,ug_ft,2010,123,2013+2013+2014+2012,,,\r\n' 1305 'student_id,matric_number,display_fullname,state,certcode,faccode,' 1306 'depcode,is_postgrad,current_level,current_session,' 1307 'current_mode,entry_session,reg_number,' 1308 'schoolfee12,schoolfee13,schoolfee14,' 1309 'clearance12,clearance13,clearance14,' 1310 'gown12,gown13,gown14,' 1311 'transcript12,transcript13,transcript14\r\n' 1312 'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,2012,ug_ft,' 1313 '2010,123,' 1314 '12.12,14.14,1.01,,,,,,,,,\r\n' 1309 1315 in result 1310 1316 )
Note: See TracChangeset for help on using the changeset viewer.