Changeset 13593 for main/kofacustom.wdu/trunk/src
- Timestamp:
- 11 Jan 2016, 09:34:58 (9 years ago)
- Location:
- main/kofacustom.wdu/trunk/src/kofacustom/wdu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/tests/test_browser.py
r13230 r13593 82 82 'course_admitted,date_of_birth,display_fullname,email,emp2_end,' 83 83 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' 84 'emp_reason,emp_start,employer,employer2,firstname, '85 'fst_sit_ date,fst_sit_fname,fst_sit_no,fst_sit_results,fst_sit_type,'86 'h istory,hq_degree,hq_disc,hq_matric_no,hq_school,hq_session,'87 'hq_type,jamb_reg_number,jamb_score,jamb_subjects,lastname, lga,'88 'l ocked,marit_stat,middlename,nationality,next_kin_address,'84 'emp_reason,emp_start,employer,employer2,firstname,fst_sit_date,' 85 'fst_sit_fname,fst_sit_no,fst_sit_results,fst_sit_type,history,' 86 'hq_degree,hq_disc,hq_fname,hq_matric_no,hq_school,hq_session,' 87 'hq_type,jamb_reg_number,jamb_score,jamb_subjects,lastname,' 88 'lga,locked,marit_stat,middlename,nationality,next_kin_address,' 89 89 'notice,nysc_lga,nysc_year,olevel_exam_date,olevel_exam_date2,' 90 90 'olevel_exam_number,olevel_exam_number2,olevel_results,' 91 91 'olevel_results2,olevel_school,olevel_school2,olevel_type,' 92 'olevel_type2,password,phone,presently_inst,' 93 'reg_number,religion,result_uploaded,' 94 'scd_sit_date,scd_sit_fname,scd_sit_no,scd_sit_results,scd_sit_type,' 95 'screening_date,screening_score,screening_venue,sex,special,' 96 'special_application,state,student_id,suspended,translated_state\r\n' 97 98 ',dp2011_654321,,654321,,dp2011,CERT1,CERT1,CERT1,1981-02-04#,' 99 'Anna M. Tester,anna@sample.com,,,,,,,,,,,Anna,,,,,,' 100 '[u\'2015-08-26 15:57:48 WAT - Application initialized by system\']' 101 ',,,,,,,,,,Tester,,0,,M.,NG,,"Some notice\nin lines.",,,,,,,,,,,,,' 92 'olevel_type2,password,phone,presently_inst,reg_number,religion,' 93 'result_uploaded,scd_sit_date,scd_sit_fname,scd_sit_no,' 94 'scd_sit_results,scd_sit_type,screening_date,screening_score,' 95 'screening_venue,sex,special,special_application,state,' 96 'student_id,suspended,translated_state\r\n,' 97 'dp2011_654321,,654321,,dp2011,CERT1,CERT1,CERT1,' 98 '1981-02-04#,Anna M. Tester,anna@sample.com,,,,,,,,,,,Anna,,,,,,' 99 '[u\'2016-01-11 10:28:58 WAT - Application initialized by system\']' 100 ',,,,,,,,,,,Tester,,0,,M.,NG,,"Some notice\nin lines.",,,,,,,,,,,,,' 102 101 'any password,+234-123-12345#,,123456,,,,,,,,' 103 '"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room, f,,,'104 ' initialized,,0,initialized\r\n')102 '"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room,' 103 'f,,,initialized,,0,initialized\r\n') 105 104 # We can import the same file if we ignore some columns. 106 105 # Since the applicants_catalog hasn't been notified, the same … … 111 110 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 112 111 'body_responsible_address','container_code','course1','course2', 113 'course_admitted','date_of_birth','ignore_display_fullname','email','emp2_end', 114 'emp2_position','emp2_reason','emp2_start','emp_end','emp_position', 115 'emp_reason','emp_start','employer','employer2','firstname', 116 'fst_sit_date','fst_sit_fname','fst_sit_no','fst_sit_results','fst_sit_type', 117 'ignore_history','hq_degree','hq_disc','hq_matric_no','hq_school','hq_session', 118 'hq_type','jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 112 'course_admitted','date_of_birth','ignore_display_fullname','email', 113 'emp2_end','emp2_position','emp2_reason','emp2_start','emp_end', 114 'emp_position','emp_reason','emp_start','employer','employer2', 115 'firstname','fst_sit_date','fst_sit_fname','fst_sit_no', 116 'fst_sit_results','fst_sit_type','ignore_history','hq_degree','hq_disc', 117 'hq_fname','hq_matric_no','hq_school','hq_session','hq_type', 118 'jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 119 119 'locked','marit_stat','middlename','nationality','next_kin_address', 120 'notice','nysc_lga','nysc_year','olevel_exam_date', 'olevel_exam_date2',121 'olevel_exam_ number','olevel_exam_number2','olevel_results',122 'olevel_results 2','olevel_school','olevel_school2','olevel_type',123 'olevel_type 2','password','phone','presently_inst',124 'reg_number','religion','result_uploaded', 125 'scd_sit_ date','scd_sit_fname','scd_sit_no','scd_sit_results','scd_sit_type',126 'screening_date', 127 ' screening_score','screening_venue','sex','ignore_special','special_application',128 's tate','student_id','suspended','ignore_translated_state'],120 'notice','nysc_lga','nysc_year','olevel_exam_date', 121 'olevel_exam_date2','olevel_exam_number','olevel_exam_number2', 122 'olevel_results','olevel_results2','olevel_school','olevel_school2', 123 'olevel_type','olevel_type2','password','phone','presently_inst', 124 'reg_number','religion','result_uploaded','scd_sit_date', 125 'scd_sit_fname','scd_sit_no','scd_sit_results','scd_sit_type', 126 'screening_date','screening_score','screening_venue','sex', 127 'ignore_special','special_application','state','student_id', 128 'suspended','ignore_translated_state'], 129 129 mode='create') 130 130 num_succ, num_fail, finished_path, failed_path = result … … 141 141 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 142 142 'body_responsible_address','ignore_container_code','course1','course2', 143 'course_admitted','date_of_birth','ignore_display_fullname','email','emp2_end', 144 'emp2_position','emp2_reason','emp2_start','emp_end','emp_position', 145 'emp_reason','emp_start','employer','employer2','firstname', 146 'fst_sit_date','fst_sit_fname','fst_sit_no','fst_sit_results','fst_sit_type', 147 'ignore_history','hq_degree','hq_disc','hq_matric_no','hq_school','hq_session', 148 'hq_type','jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 143 'course_admitted','date_of_birth','ignore_display_fullname','email', 144 'emp2_end','emp2_position','emp2_reason','emp2_start','emp_end', 145 'emp_position','emp_reason','emp_start','employer','employer2', 146 'firstname','fst_sit_date','fst_sit_fname','fst_sit_no', 147 'fst_sit_results','fst_sit_type','ignore_history','hq_degree','hq_disc', 148 'hq_fname','hq_matric_no','hq_school','hq_session','hq_type', 149 'jamb_reg_number','jamb_score','jamb_subjects','lastname','lga', 149 150 'locked','marit_stat','middlename','nationality','next_kin_address', 150 'notice','nysc_lga','nysc_year','olevel_exam_date', 'olevel_exam_date2',151 'olevel_exam_ number','olevel_exam_number2','olevel_results',152 'olevel_results 2','olevel_school','olevel_school2','olevel_type',153 'olevel_type 2','password','phone','presently_inst',154 'reg_number','religion','result_uploaded', 155 'scd_sit_ date','scd_sit_fname','scd_sit_no','scd_sit_results','scd_sit_type',156 'screening_date', 157 ' screening_score','screening_venue','sex','ignore_special','special_application',158 's tate','student_id','suspended','ignore_translated_state'],151 'notice','nysc_lga','nysc_year','olevel_exam_date', 152 'olevel_exam_date2','olevel_exam_number','olevel_exam_number2', 153 'olevel_results','olevel_results2','olevel_school','olevel_school2', 154 'olevel_type','olevel_type2','password','phone','presently_inst', 155 'reg_number','religion','result_uploaded','scd_sit_date', 156 'scd_sit_fname','scd_sit_no','scd_sit_results','scd_sit_type', 157 'screening_date','screening_score','screening_venue','sex', 158 'ignore_special','special_application','state','student_id', 159 'suspended','ignore_translated_state'], 159 160 mode='update') 160 161 num_succ, num_fail, finished_path, failed_path = result -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/interswitch/tests.py
r13021 r13593 217 217 self.applicantscontainer.application_fee = 1000.0 218 218 self.browser.getControl(name="form.nationality").value = ['NG'] 219 self.browser.getControl(name="form.lga").value = ['abia_aba_north'] 220 self.browser.getControl(name="form.marit_stat").value = ['single'] 219 221 self.browser.getControl(name="transition").value = ['start'] 220 222 self.browser.getControl("Save").click() 221 223 self.browser.getControl("Add online").click() 224 222 225 self.assertMatches('...ticket created...', 223 226 self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.