Changeset 13639 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 20 Jan 2016, 12:30:00 (9 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
r13314 r13639 477 477 478 478 curr_year = datetime.now().year 479 year_range = range(curr_year - 9, curr_year + 1)479 year_range = range(curr_year - 10, curr_year + 1) 480 480 year_range_tuple = tuple([str(year) for year in year_range]) 481 481 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r13564 r13639 44 44 45 45 curr_year = datetime.datetime.now().year 46 year_range = range(curr_year - 9, curr_year + 1)46 year_range = range(curr_year - 10, curr_year + 1) 47 47 year_range_str = ','.join([str(i) for i in year_range]) 48 48 … … 1154 1154 'current_level,current_session,current_mode,entry_session,' 1155 1155 '%s\r\nA111111,234,Anna M. Tester,created,CERT1,NA,NA,0,' 1156 '200,2012,ug_ft,2010,,,,, 14.14,waived,,,,\r\n'1156 '200,2012,ug_ft,2010,,,,,,14.14,waived,,,,\r\n' 1157 1157 % year_range_str in result 1158 1158 )
Note: See TracChangeset for help on using the changeset viewer.