Changeset 15285 for main


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
Files:
4 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(
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r15277 r15285  
    38113811            self.browser.headers['content-disposition'])
    38123812        self.assertTrue(
    3813             '666,12.12,2012-12-13 00:00:00#,schoolfee,1,my-id,p-item,100,2012,'
     3813            '666,12.12,2012-12-13 00:00:00#,schoolfee,1,my-id,p-item,100,2013,'
    38143814            'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,'
    38153815            'Tester,created,2004,2004,,fac1,dep1,CERT1' in self.browser.contents)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r15277 r15285  
    13251325            'student_id,matric_number,display_fullname,state,certcode,'
    13261326            'faccode,depcode,is_postgrad,current_level,current_session,'
    1327             'current_mode,entry_session,reg_number,schoolfee12,'
    1328             'schoolfee13,schoolfee14,clearance12,clearance13,clearance14,'
    1329             'gown12,gown13,gown14,transcript12,transcript13,transcript14\r\n'
     1327            'current_mode,entry_session,reg_number,schoolfee13,'
     1328            'schoolfee14,schoolfee15,clearance13,clearance14,clearance15,'
     1329            'gown13,gown14,gown15,transcript13,transcript14,transcript15\r\n'
    13301330            'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,'
    13311331            '2012,ug_ft,2010,123,'
     
    13681368            'depcode,is_postgrad,current_level,current_session,'
    13691369            'current_mode,entry_session,reg_number,'
    1370             'schoolfee12,schoolfee13,schoolfee14,'
    1371             'clearance12,clearance13,clearance14,'
    1372             'gown12,gown13,gown14,'
    1373             'transcript12,transcript13,transcript14\r\n'
     1370            'schoolfee13,schoolfee14,schoolfee15,'
     1371            'clearance13,clearance14,clearance15,'
     1372            'gown13,gown14,gown15,'
     1373            'transcript13,transcript14,transcript15\r\n'
    13741374            'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,2012,ug_ft,'
    13751375            '2010,123,'
Note: See TracChangeset for help on using the changeset viewer.