- Timestamp:
- 2 Dec 2014, 20:37:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py
r12109 r12120 66 66 self.assertMatches( 67 67 'adm_code,alr_date,alr_fname,alr_no,alr_results,clearance_locked,' 68 'clr_code,date_of_birth,d ate_of_invitation,def_adm,disabled,email,emp2_end,'68 'clr_code,date_of_birth,def_adm,disabled,email,emp2_end,' 69 69 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' 70 70 'emp_reason,emp_start,employer,employer2,firstname,former_matric,' … … 76 76 'next_kin_address,next_kin_name,next_kin_phone,next_kin_relation,' 77 77 'nysc_lga,nysc_location,nysc_year,officer_comment,' 78 'perm_address,personal_updated,phone, reg_number,'78 'perm_address,personal_updated,phone,physical_clearance_date,reg_number,' 79 79 'religion,scd_sit_date,scd_sit_fname,scd_sit_no,' 80 80 'scd_sit_results,scd_sit_type,sex,student_id,' 81 81 'suspended,suspended_comment,password,state,history,certcode,is_postgrad,' 82 82 'current_level,current_session\r\nmy adm code,,,,' 83 '"[(\'accounts\', \'A\')]",0,my clr code,1981-02-04#,,, ,'83 '"[(\'accounts\', \'A\')]",0,my clr code,1981-02-04#,,,' 84 84 'anna@sample.com,,,,,,,,,,,Anna,,,,,"[(\'accounts\', \'A\')]"' 85 85 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,' 86 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#, 123,,,,,'86 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,123,,,,,' 87 87 '"[(\'accounts\', \'A\')]",,f,A111111,0,,,created,' 88 88 '[u\'2012-11-06 13:16:41 WAT - Record created by system\'],' … … 150 150 # set values we can expect in export file 151 151 self.setup_student(self.student) 152 self.student. date_of_invitation= 'Come soon'152 self.student.physical_clearance_date = 'Come soon' 153 153 IWorkflowState(self.student).setState('clearance requested') 154 154 exporter = ClearanceRequestedStudentExporter() … … 157 157 self.assertMatches( 158 158 'student_id,reg_number,display_fullname,state,current_session,' 159 'history, date_of_invitation\r\n'159 'history,physical_clearance_date\r\n' 160 160 'A111111,123,Anna M. Tester,clearance requested,' 161 161 '2012,2014-12-02 07:17:02 WAT - Record created by system,'
Note: See TracChangeset for help on using the changeset viewer.