Changeset 15285 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 9 Jan 2019, 10:57:08 (6 years ago)
- 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 1 1 code,title,prefix,year,application_category,description,startdate,enddate,strict_deadline,mode 2 app201 4,General Studies,app,2014,basic,"This text can been seen by anonymous users.2 app2017,General Studies,app,2017,basic,"This text can been seen by anonymous users. 3 3 >>de<< 4 4 Dieser Text kann von anonymen Benutzern gelesen werden.",2012-03-01,2012-04-25,1,create 5 app201 5,General Studies,app,2015,basic,"This text can been seen by anonymous users.5 app2018,General Studies,app,2018,basic,"This text can been seen by anonymous users. 6 6 >>de<< 7 7 Dieser 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 161 161 self.csv_file, APPS_CONTAINER_HEADER_FIELDS) 162 162 avail_containers = [x for x in self.app['applicants'].keys()] 163 container = self.app['applicants'].get('app201 4', None)164 container2 = self.app['applicants'].get('app201 5', None)163 container = self.app['applicants'].get('app2017', None) 164 container2 = self.app['applicants'].get('app2018', None) 165 165 self.assertTrue(container is not None) 166 166 self.assertTrue(container2 is not None) 167 167 168 168 # check attributes 169 self.assertEqual(container.code, u'app201 4')169 self.assertEqual(container.code, u'app2017') 170 170 self.assertEqual(container.title, u'General Studies') 171 171 self.assertEqual(container.prefix, u'app') 172 self.assertEqual(container.year, 201 4)172 self.assertEqual(container.year, 2017) 173 173 self.assertEqual(container.application_category, 'basic') 174 174 self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.