Changeset 15285
- Timestamp:
- 9 Jan 2019, 10:57:08 (6 years ago)
- 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 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( -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r15277 r15285 3811 3811 self.browser.headers['content-disposition']) 3812 3812 self.assertTrue( 3813 '666,12.12,2012-12-13 00:00:00#,schoolfee,1,my-id,p-item,100,201 2,'3813 '666,12.12,2012-12-13 00:00:00#,schoolfee,1,my-id,p-item,100,2013,' 3814 3814 'paid,2012-12-13 00:00:00#,12.12,r-code,,K1000000,234,123,Anna,,' 3815 3815 '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 1325 1325 'student_id,matric_number,display_fullname,state,certcode,' 1326 1326 'faccode,depcode,is_postgrad,current_level,current_session,' 1327 'current_mode,entry_session,reg_number,schoolfee1 2,'1328 'schoolfee1 3,schoolfee14,clearance12,clearance13,clearance14,'1329 'gown1 2,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' 1330 1330 'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,' 1331 1331 '2012,ug_ft,2010,123,' … … 1368 1368 'depcode,is_postgrad,current_level,current_session,' 1369 1369 'current_mode,entry_session,reg_number,' 1370 'schoolfee1 2,schoolfee13,schoolfee14,'1371 'clearance1 2,clearance13,clearance14,'1372 'gown1 2,gown13,gown14,'1373 'transcript1 2,transcript13,transcript14\r\n'1370 'schoolfee13,schoolfee14,schoolfee15,' 1371 'clearance13,clearance14,clearance15,' 1372 'gown13,gown14,gown15,' 1373 'transcript13,transcript14,transcript15\r\n' 1374 1374 'A111111,234,Anna M. Tester,created,CERT1,NA,NA,0,200,2012,ug_ft,' 1375 1375 '2010,123,'
Note: See TracChangeset for help on using the changeset viewer.