Ignore:
Timestamp:
4 Jan 2015, 16:09:45 (10 years ago)
Author:
Henrik Bettermann
Message:

Make tests work for the next two years.

File:
1 edited

Legend:

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

    r12079 r12394  
    4949    def setup_container(self, container):
    5050        # set all attributes of a container
    51         container.code = u'dp2012'
    52         container.title = u'General Studies 2012/13'
     51        container.code = u'dp2015'
     52        container.title = u'General Studies'
    5353        container.prefix = list(ApplicationTypeSource()(container))[0]
    54         container.year = 2012
     54        container.year = 2015
    5555        container.application_category = list(AppCatSource()(container))[0]
    5656        container.description = u'Some Description\nwith linebreak\n'
    5757        container.description += u'<<de>>man spriht deutsh'
    5858        container.startdate = datetime.datetime(
    59             2012, 1, 1, 12, 0, 0, tzinfo=pytz.utc)
     59            2015, 1, 1, 12, 0, 0, tzinfo=pytz.utc)
    6060        container.enddate = datetime.datetime(
    61             2012, 1, 31, 23, 0, 0, tzinfo=pytz.utc)
     61            2015, 1, 31, 23, 0, 0, tzinfo=pytz.utc)
    6262        return container
    6363
     
    7474            'enddate,hidden,mode,prefix,startdate,strict_deadline,title,year\r\n'
    7575
    76             'basic,0.0,,dp2012,'
     76            'basic,0.0,,dp2015,'
    7777            '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",'
    78             '2012-01-31 23:00:00+00:00#,0,,app,2012-01-01 12:00:00+00:00#,1,'
    79             'General Studies 2012/13,2012\r\n'
     78            '2015-01-31 23:00:00+00:00#,0,,app,2015-01-01 12:00:00+00:00#,1,'
     79            'General Studies,2015\r\n'
    8080            )
    8181        return
Note: See TracChangeset for help on using the changeset viewer.