- Timestamp:
- 23 Feb 2013, 07:17:57 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r9937 r9983 345 345 346 346 #: Fieldnames considered by this exporter 347 fields = ('student_id', ) + (347 fields = ('student_id', 'matric_number', 'display_fullname', 348 348 'state', 'certcode', 'faccode', 'depcode', 'is_postgrad', 349 349 'current_level', 'current_session', 'current_mode', -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r9937 r9983 851 851 result = open(self.outfile, 'rb').read() 852 852 self.assertEqual( 853 'student_id,state,certcode,faccode,depcode,is_postgrad,' 853 'student_id,matric_number,display_fullname,state,certcode,' 854 'faccode,depcode,is_postgrad,' 854 855 'current_level,current_session,current_mode,' 855 856 '%s\r\n' 856 'A111111, created,CERT1,NA,NA,0,200,2012,ug_ft,'857 'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,2012,ug_ft,' 857 858 ',,,,,,,,,\r\n' % year_range_str, 858 859 result … … 875 876 result = open(self.outfile, 'rb').read() 876 877 self.assertEqual( 877 'student_id,state,certcode,faccode,depcode,is_postgrad,' 878 'student_id,matric_number,display_fullname,state,' 879 'certcode,faccode,depcode,is_postgrad,' 878 880 'current_level,current_session,current_mode,' 879 '%s\r\nA111111, created,CERT1,NA,NA,0,'881 '%s\r\nA111111,234,Anna M. Tester,created,CERT1,NA,NA,0,' 880 882 '200,2012,ug_ft,,,,,,12.12,,,,\r\n' % year_range_str, 881 883 result
Note: See TracChangeset for help on using the changeset viewer.