Changeset 13097 for main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants
- Timestamp:
- 23 Jun 2015, 07:29:31 (10 years ago)
- Location:
- main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/export.py
r12982 r13097 36 36 INigeriaPGApplicant.names() + 37 37 IApplicantBaseData.names() 38 ))) + ('container_code',)38 ))) -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/tests/test_browser.py
r12982 r13097 79 79 self.assertMatches(result, 80 80 'aggregate,applicant_id,application_date,application_number,' 81 'body_responsible_address,co urse1,course2,course_admitted,'82 ' date_of_birth,display_fullname,email,emp2_end,emp2_position,'83 'emp2_ reason,emp2_start,emp_end,emp_position,emp_reason,'84 'emp_ start,employer,employer2,firstname,history,hq_degree,'85 'h q_disc,hq_matric_no,hq_school,hq_session,hq_type,'86 ' jamb_reg_number,jamb_score,jamb_subjects,lastname,lga,'81 'body_responsible_address,container_code,course1,course2,' 82 'course_admitted,date_of_birth,display_fullname,email,emp2_end,' 83 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' 84 'emp_reason,emp_start,employer,employer2,firstname,' 85 'history,hq_degree,hq_disc,hq_matric_no,hq_school,hq_session,' 86 'hq_type,jamb_reg_number,jamb_score,jamb_subjects,lastname,lga,' 87 87 'locked,marit_stat,middlename,nationality,next_kin_address,' 88 88 'notice,nysc_lga,nysc_year,olevel_exam_date,olevel_exam_date2,' … … 91 91 'olevel_type2,password,phone,pp_school,presently_inst,' 92 92 'reg_number,religion,result_uploaded,screening_date,' 93 'screening_score,screening_venue,sex,special _application,'94 'state,student_id,suspended, container_code\r\n'95 ',dp2011_654321,,654321,, CERT1,CERT1,CERT1,1981-02-04#,'93 'screening_score,screening_venue,sex,special,special_application,' 94 'state,student_id,suspended,translated_state\r\n' 95 ',dp2011_654321,,654321,,dp2011,CERT1,CERT1,CERT1,1981-02-04#,' 96 96 'Anna M. Tester,anna@sample.com,,,,,,,,,,,Anna,' 97 '[u\'2015-0 5-22 05:35:35WAT - Application initialized by system\']'98 ',,,,,,,,,,Tester,,0,,M.,NG,,"Some notice \nin lines.",,,,,,,,,,,,,'97 '[u\'2015-06-23 08:21:37 WAT - Application initialized by system\']' 98 ',,,,,,,,,,Tester,,0,,M.,NG,,"Some notice in lines.",,,,,,,,,,,,,' 99 99 'any password,+234-123-12345#,,,123456,,,' 100 '"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room, f,,'101 ' initialized,,0,dp2011\r\n')100 '"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room,' 101 'f,,,initialized,,0,initialized\r\n') 102 102 # We can import the same file if we ignore some columns. 103 103 # Since the applicants_catalog hasn't been notified, the same … … 106 106 result = processor.doImport( 107 107 self.outfile, 108 ['aggreagate','ignore_applicant_id','application_date', 109 'ignore_application_number', 110 'body_responsible_address','course1','course2','course_admitted', 111 'date_of_birth','display_fullname','email','emp2_end','emp2_position', 112 'emp2_reason','emp2_start','emp_end','emp_position','emp_reason', 113 'emp_start','employer','employer2','firstname','history','hq_degree', 114 'hq_disc','hq_matric_no','hq_school','hq_session','hq_type', 115 'jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 108 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 109 'body_responsible_address','container_code','course1','course2', 110 'course_admitted','date_of_birth','ignore_display_fullname','email','emp2_end', 111 'emp2_position','emp2_reason','emp2_start','emp_end','emp_position', 112 'emp_reason','emp_start','employer','employer2','firstname', 113 'ignore_history','hq_degree','hq_disc','hq_matric_no','hq_school','hq_session', 114 'hq_type','jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 116 115 'locked','marit_stat','middlename','nationality','next_kin_address', 117 116 'notice','nysc_lga','nysc_year','olevel_exam_date','olevel_exam_date2', … … 120 119 'olevel_type2','password','phone','pp_school','presently_inst', 121 120 'reg_number','religion','result_uploaded','screening_date', 122 'screening_score','screening_venue','sex',' special_application',123 'state','student_id','suspended',' container_code'],121 'screening_score','screening_venue','sex','ignore_special','special_application', 122 'state','student_id','suspended','ignore_translated_state'], 124 123 mode='create') 125 124 num_succ, num_fail, finished_path, failed_path = result … … 134 133 result = processor.doImport( 135 134 self.outfile, 136 ['aggreagate','ignore_applicant_id','application_date', 137 'ignore_application_number', 138 'body_responsible_address','course1','course2','course_admitted', 139 'date_of_birth','display_fullname','email','emp2_end','emp2_position', 140 'emp2_reason','emp2_start','emp_end','emp_position','emp_reason', 141 'emp_start','employer','employer2','firstname','history','hq_degree', 142 'hq_disc','hq_matric_no','hq_school','hq_session','hq_type', 143 'jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 135 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 136 'body_responsible_address','ignore_container_code','course1','course2', 137 'course_admitted','date_of_birth','ignore_display_fullname','email','emp2_end', 138 'emp2_position','emp2_reason','emp2_start','emp_end','emp_position', 139 'emp_reason','emp_start','employer','employer2','firstname', 140 'ignore_history','hq_degree','hq_disc','hq_matric_no','hq_school','hq_session', 141 'hq_type','jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 144 142 'locked','marit_stat','middlename','nationality','next_kin_address', 145 143 'notice','nysc_lga','nysc_year','olevel_exam_date','olevel_exam_date2', … … 148 146 'olevel_type2','password','phone','pp_school','presently_inst', 149 147 'reg_number','religion','result_uploaded','screening_date', 150 'screening_score','screening_venue','sex',' special_application',151 'state','student_id','suspended','ignore_ container_code'],148 'screening_score','screening_venue','sex','ignore_special','special_application', 149 'state','student_id','suspended','ignore_translated_state'], 152 150 mode='update') 153 151 num_succ, num_fail, finished_path, failed_path = result
Note: See TracChangeset for help on using the changeset viewer.