Ignore:
Timestamp:
28 Feb 2017, 14:23:09 (8 years ago)
Author:
Henrik Bettermann
Message:

Extend year_range.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r14574 r14596  
    4444
    4545curr_year = datetime.datetime.now().year
    46 year_range = range(curr_year - 10, curr_year + 1)
     46year_range = range(curr_year - 11, curr_year + 1)
    4747year_range_str = ','.join([str(i) for i in year_range])
    4848
     
    11801180            'current_level,current_session,current_mode,entry_session,'
    11811181            'reg_number,%s\r\nA111111,234,Anna M. Tester,created,CERT1,NA,NA,0,'
    1182             '200,2012,ug_ft,2010,123,,,,,12.12,14.14,waived,,,,\r\n'
     1182            '200,2012,ug_ft,2010,123,,,,,,12.12,14.14,waived,,,,\r\n'
    11831183            % year_range_str in result
    11841184            )
Note: See TracChangeset for help on using the changeset viewer.