Changeset 9209 for main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/students/tests/test_export.py
- Timestamp:
- 20 Sep 2012, 08:49:37 (12 years ago)
- Location:
- main/waeup.kofa/branches/uli-zc-async
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-zc-async
- Property svn:mergeinfo changed
-
main/waeup.kofa/branches/uli-zc-async/src/waeup/kofa/students/tests/test_export.py
r8621 r9209 44 44 'adm_code,clearance_locked,clr_code,date_of_birth,email,employer,' 45 45 'firstname,lastname,matric_number,middlename,nationality,' 46 'perm_address,phone,reg_number,sex,student_id, password,'46 'perm_address,phone,reg_number,sex,student_id,suspended,password,' 47 47 'state,history,certcode\r\n' 48 48 49 49 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 50 'Anna,Tester, M123456,M.,NG,"Studentroad 21\nLagos 123456\n",'51 '+234-123-12345 ,123456,f,A111111,,created'50 'Anna,Tester,234,M.,NG,"Studentroad 21\nLagos 123456\n",' 51 '+234-123-12345#,123,f,A111111,0,,created' 52 52 in result 53 53 ) … … 64 64 'adm_code,clearance_locked,clr_code,date_of_birth,email,employer,' 65 65 'firstname,lastname,matric_number,middlename,nationality,' 66 'perm_address,phone,reg_number,sex,student_id, password,'66 'perm_address,phone,reg_number,sex,student_id,suspended,password,' 67 67 'state,history,certcode\r\n' 68 68 69 69 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 70 'Anna,Tester, M123456,M.,NG,"Studentroad 21\nLagos 123456\n",'71 '+234-123-12345 ,123456,f,A111111,,created'70 'Anna,Tester,234,M.,NG,"Studentroad 21\nLagos 123456\n",' 71 '+234-123-12345#,123,f,A111111,0,,created' 72 72 in result 73 73 ) … … 83 83 'adm_code,clearance_locked,clr_code,date_of_birth,email,employer,' 84 84 'firstname,lastname,matric_number,middlename,nationality,' 85 'perm_address,phone,reg_number,sex,student_id, password,'85 'perm_address,phone,reg_number,sex,student_id,suspended,password,' 86 86 'state,history,certcode\r\n' 87 87 88 88 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 89 'Anna,Tester, M123456,M.,NG,"Studentroad 21\nLagos 123456\n",'90 '+234-123-12345 ,123456,f,A111111,,created'89 'Anna,Tester,234,M.,NG,"Studentroad 21\nLagos 123456\n",' 90 '+234-123-12345#,123,f,A111111,0,,created' 91 91 in result 92 92 ) … … 127 127 'entry_mode,entry_session,previous_verdict,student_id\r\n' 128 128 129 ',,, NY,,,NY,\r\n'129 ',,,0,,,0,\r\n' 130 130 ) 131 131 return … … 144 144 'entry_mode,entry_session,previous_verdict,student_id\r\n' 145 145 146 'CERT1,200,2012, NY,ug_ft,2010,NY,A111111\r\n'146 'CERT1,200,2012,0,ug_ft,2010,0,A111111\r\n' 147 147 ) 148 148 return … … 160 160 'entry_mode,entry_session,previous_verdict,student_id\r\n' 161 161 162 'CERT1,200,2012, NY,ug_ft,2010,NY,A111111\r\n'162 'CERT1,200,2012,0,ug_ft,2010,0,A111111\r\n' 163 163 ) 164 164 return … … 175 175 'entry_mode,entry_session,previous_verdict,student_id\r\n' 176 176 177 'CERT1,200,2012, NY,ug_ft,2010,NY,A111111\r\n'177 'CERT1,200,2012,0,ug_ft,2010,0,A111111\r\n' 178 178 ) 179 179 return … … 209 209 self.assertEqual( 210 210 result, 211 'level,level_session,level_verdict,student_id\r\n' 212 ',,NY,\r\n' 211 'level,level_session,level_verdict,validated_by,validation_date,' 212 'student_id\r\n' 213 ',,0,,,\r\n' 213 214 ) 214 215 return … … 225 226 self.assertEqual( 226 227 result, 227 'level,level_session,level_verdict,student_id\r\n' 228 '100,2012,A,A111111\r\n' 228 'level,level_session,level_verdict,validated_by,validation_date,' 229 'student_id\r\n' 230 '100,2012,A,,,A111111\r\n' 229 231 ) 230 232 return … … 239 241 self.assertEqual( 240 242 result, 241 'level,level_session,level_verdict,student_id\r\n' 242 '100,2012,A,A111111\r\n' 243 'level,level_session,level_verdict,validated_by,validation_date,' 244 'student_id\r\n' 245 '100,2012,A,,,A111111\r\n' 243 246 ) 244 247 return … … 252 255 self.assertEqual( 253 256 result, 254 'level,level_session,level_verdict,student_id\r\n' 255 '100,2012,A,A111111\r\n' 257 'level,level_session,level_verdict,validated_by,validation_date,' 258 'student_id\r\n' 259 '100,2012,A,,,A111111\r\n' 256 260 ) 257 261 return … … 371 375 self.assertEqual( 372 376 result, 373 'ac,amount_auth,creation_date,p_category,p_ id,'377 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 374 378 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 375 379 'r_code,r_desc,student_id\r\n' 376 380 377 ',0.0,2012-04-01 13:12:01,schoolfee, ,,,,unpaid,,0.0,,,\r\n'381 ',0.0,2012-04-01 13:12:01,schoolfee,1,,,,,unpaid,,0.0,,,\r\n' 378 382 ) 379 383 return … … 389 393 self.assertEqual( 390 394 result, 391 'ac,amount_auth,creation_date,p_category,p_ id,'395 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 392 396 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 393 397 'r_code,r_desc,student_id\r\n' 394 398 395 '666,0.0,2012-04-01 13:12:01,schoolfee, my-id,'399 '666,0.0,2012-04-01 13:12:01,schoolfee,1,my-id,' 396 400 'p-item,100,2012,unpaid,2012-04-01 14:12:01,12.12,' 397 401 'r-code,,A111111\r\n' … … 408 412 self.assertEqual( 409 413 result, 410 'ac,amount_auth,creation_date,p_category,p_ id,'414 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 411 415 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 412 416 'r_code,r_desc,student_id\r\n' 413 417 414 '666,0.0,2012-04-01 13:12:01,schoolfee, my-id,'418 '666,0.0,2012-04-01 13:12:01,schoolfee,1,my-id,' 415 419 'p-item,100,2012,unpaid,2012-04-01 14:12:01,12.12,' 416 420 'r-code,,A111111\r\n' … … 427 431 self.assertEqual( 428 432 result, 429 'ac,amount_auth,creation_date,p_category,p_ id,'433 'ac,amount_auth,creation_date,p_category,p_current,p_id,' 430 434 'p_item,p_level,p_session,p_state,payment_date,r_amount_approved,' 431 435 'r_code,r_desc,student_id\r\n' 432 436 433 '666,0.0,2012-04-01 13:12:01,schoolfee, my-id,'437 '666,0.0,2012-04-01 13:12:01,schoolfee,1,my-id,' 434 438 'p-item,100,2012,unpaid,2012-04-01 14:12:01,12.12,' 435 439 'r-code,,A111111\r\n'
Note: See TracChangeset for help on using the changeset viewer.