Ignore:
Timestamp:
20 Jan 2016, 12:30:00 (9 years ago)
Author:
Henrik Bettermann
Message:

Extend year range.

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  
    477477
    478478    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)
    480480    year_range_tuple = tuple([str(year) for year in year_range])
    481481
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r13564 r13639  
    4444
    4545curr_year = datetime.datetime.now().year
    46 year_range = range(curr_year - 9, curr_year + 1)
     46year_range = range(curr_year - 10, curr_year + 1)
    4747year_range_str = ','.join([str(i) for i in year_range])
    4848
     
    11541154            'current_level,current_session,current_mode,entry_session,'
    11551155            '%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'
    11571157            % year_range_str in result
    11581158            )
Note: See TracChangeset for help on using the changeset viewer.