Changeset 10447
- Timestamp:
- 4 Aug 2013, 09:06:23 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/tests/test_browser.py
r10347 r10447 338 338 'nationality,officer_comment,perm_address,personal_updated,' 339 339 'phone,reg_number,sex,student_id,suspended,suspended_comment,' 340 'transript_address,' 340 341 'password,state,history,certcode,is_postgrad,current_level,' 341 342 'current_session\r\n') -
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r10276 r10447 331 331 ) 332 332 333 class IStudentTranscript(IKofaObject): 334 """Representation of student transcript data. 335 336 """ 337 338 transript_address = schema.Text( 339 title = _(u'Address'), 340 required = False, 341 description = _( 342 u'Enter address the transcript has been shipped to.'), 343 ) 344 345 333 346 class IStudent(IStudentBase,IUGStudentClearance,IPGStudentClearance, 334 IStudentPersonal ):347 IStudentPersonal, IStudentTranscript): 335 348 """Representation of a student. 336 349 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r10296 r10447 108 108 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 109 109 'Anna,Tester,234,M.,NG,,"Studentroad 21\nLagos 123456\n",,' 110 '+234-123-12345#,123,f,A111111,0,,, created'110 '+234-123-12345#,123,f,A111111,0,,,,created' 111 111 ) 112 112 … … 137 137 result = open(self.outfile, 'rb').read() 138 138 self.assertTrue( 139 'adm_code,clearance_locked,clr_code,date_of_birth,email,employer,' 140 'firstname,lastname,matric_number,middlename,nationality,officer_comment,' 141 'perm_address,personal_updated,' 142 'phone,reg_number,sex,student_id,suspended,suspended_comment,password,' 143 'state,history,certcode,is_postgrad,current_level,current_session\r\n' 144 145 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 146 'Anna,Tester,234,M.,NG,,"Studentroad 21\nLagos 123456\n",,' 147 '+234-123-12345#,123,f,A111111,0,,,created' 139 'adm_code,clearance_locked,clr_code,date_of_birth,email,' 140 'employer,firstname,lastname,matric_number,middlename,' 141 'nationality,officer_comment,perm_address,personal_updated,' 142 'phone,reg_number,sex,student_id,suspended,suspended_comment,' 143 'transript_address,password,state,history,certcode,is_postgrad,' 144 'current_level,current_session\r\n' 145 'my adm code,0,my clr code,' 146 '1981-02-04#,anna@sample.com,,Anna,Tester,234,M.,NG,,' 147 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,123,f,' 148 'A111111,0,,,,created' 148 149 in result 149 150 ) … … 158 159 result = open(self.outfile, 'rb').read() 159 160 self.assertTrue( 160 'adm_code,clearance_locked,clr_code,date_of_birth,email, employer,'161 ' firstname,lastname,matric_number,middlename,nationality,officer_comment,'162 ' perm_address,personal_updated'163 ' ,phone,reg_number,sex,student_id,suspended,suspended_comment,password,'164 ' state,history,certcode,is_postgrad,current_level,current_session\r\n'165 161 'adm_code,clearance_locked,clr_code,date_of_birth,email,' 162 'employer,firstname,lastname,matric_number,middlename,' 163 'nationality,officer_comment,perm_address,personal_updated,' 164 'phone,reg_number,sex,student_id,suspended,suspended_comment,' 165 'transript_address,password,state,history,certcode,' 166 'is_postgrad,current_level,current_session\r\n' 166 167 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 167 'Anna,Tester,234,M.,NG,,"Studentroad 21\nLagos 123456\n" ,,'168 ' +234-123-12345#,123,f,A111111,0,,,created'168 'Anna,Tester,234,M.,NG,,"Studentroad 21\nLagos 123456\n"' 169 ',,+234-123-12345#,123,f,A111111,0,,,,created' 169 170 in result 170 171 ) … … 178 179 result = open(self.outfile, 'rb').read() 179 180 self.assertTrue( 180 'adm_code,clearance_locked,clr_code,date_of_birth,email, employer,'181 ' firstname,lastname,matric_number,middlename,nationality,officer_comment,'182 ' perm_address,personal_updated'183 ' ,phone,reg_number,sex,student_id,suspended,suspended_comment,password,'184 ' state,history,certcode,is_postgrad,current_level,current_session\r\n'185 181 'adm_code,clearance_locked,clr_code,date_of_birth,email,' 182 'employer,firstname,lastname,matric_number,middlename,' 183 'nationality,officer_comment,perm_address,personal_updated,' 184 'phone,reg_number,sex,student_id,suspended,suspended_comment,' 185 'transript_address,password,state,history,certcode,' 186 'is_postgrad,current_level,current_session\r\n' 186 187 'my adm code,0,my clr code,1981-02-04#,anna@sample.com,,' 187 'Anna,Tester,234,M.,NG,,"Studentroad 21\nLagos 123456\n" ,,'188 ' +234-123-12345#,123,f,A111111,0,,,created'188 'Anna,Tester,234,M.,NG,,"Studentroad 21\nLagos 123456\n"' 189 ',,+234-123-12345#,123,f,A111111,0,,,,created' 189 190 in result 190 191 )
Note: See TracChangeset for help on using the changeset viewer.