Ignore:
Timestamp:
9 Jan 2019, 10:57:08 (6 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests to 2019.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/sample_container_data.csv

    r12394 r15285  
    11code,title,prefix,year,application_category,description,startdate,enddate,strict_deadline,mode
    2 app2014,General Studies,app,2014,basic,"This text can been seen by anonymous users.
     2app2017,General Studies,app,2017,basic,"This text can been seen by anonymous users.
    33>>de<<
    44Dieser Text kann von anonymen Benutzern gelesen werden.",2012-03-01,2012-04-25,1,create
    5 app2015,General Studies,app,2015,basic,"This text can been seen by anonymous users.
     5app2018,General Studies,app,2018,basic,"This text can been seen by anonymous users.
    66>>de<<
    77Dieser Text kann von anonymen Benutzern gelesen werden.",2013-03-01,2013-04-25,1,create
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py

    r14804 r15285  
    161161            self.csv_file, APPS_CONTAINER_HEADER_FIELDS)
    162162        avail_containers = [x for x in self.app['applicants'].keys()]
    163         container = self.app['applicants'].get('app2014', None)
    164         container2 = self.app['applicants'].get('app2015', None)
     163        container = self.app['applicants'].get('app2017', None)
     164        container2 = self.app['applicants'].get('app2018', None)
    165165        self.assertTrue(container is not None)
    166166        self.assertTrue(container2 is not None)
    167167
    168168        # check attributes
    169         self.assertEqual(container.code, u'app2014')
     169        self.assertEqual(container.code, u'app2017')
    170170        self.assertEqual(container.title, u'General Studies')
    171171        self.assertEqual(container.prefix, u'app')
    172         self.assertEqual(container.year, 2014)
     172        self.assertEqual(container.year, 2017)
    173173        self.assertEqual(container.application_category, 'basic')
    174174        self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.