Ignore:
Timestamp:
13 Jan 2020, 13:06:54 (5 years ago)
Author:
Henrik Bettermann
Message:

Add session_levelfilter to StudentStudyLevelExporter.

Adjust tests.

File:
1 edited

Legend:

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

    r15664 r15918  
    5050    def setup_container(self, container):
    5151        # set all attributes of a container
    52         container.code = u'dp2015'
     52        container.code = u'dp2017'
    5353        container.title = u'General Studies'
    5454        container.prefix = list(ApplicationTypeSource()(container))[0]
    55         container.year = 2015
     55        container.year = 2017
    5656        container.application_category = list(AppCatSource()(container))[0]
    5757        container.description = u'Some Description\nwith linebreak\n'
    5858        container.description += u'<<de>>man spriht deutsh'
    5959        container.startdate = datetime.datetime(
    60             2015, 1, 1, 12, 0, 0, tzinfo=pytz.utc)
     60            2017, 1, 1, 12, 0, 0, tzinfo=pytz.utc)
    6161        container.enddate = datetime.datetime(
    62             2015, 1, 31, 23, 0, 0, tzinfo=pytz.utc)
     62            2017, 1, 31, 23, 0, 0, tzinfo=pytz.utc)
    6363        return container
    6464
     
    7676            'strict_deadline,title,with_picture,year\r\n'
    7777
    78             'basic,0.0,,dp2015,'
     78            'basic,0.0,,dp2017,'
    7979            '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",'
    80             '2015-01-31 23:00:00+00:00#,0,,app,2015-01-01 12:00:00+00:00#,1,'
    81             'General Studies,1,2015\r\n'
     80            '2017-01-31 23:00:00+00:00#,0,,app,2017-01-01 12:00:00+00:00#,1,'
     81            'General Studies,1,2017\r\n'
    8282            )
    8383        return
Note: See TracChangeset for help on using the changeset viewer.