- Timestamp:
- 30 Mar 2012, 10:23:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py
r7984 r8008 12 12 ApplicantsContainerExporter, ApplicantsExporter) 13 13 from waeup.kofa.applicants.interfaces import ( 14 IApplicantsContainerProvider,AppCatSource, ApplicationTypeSource)14 AppCatSource, ApplicationTypeSource) 15 15 from waeup.kofa.applicants.tests.test_batching import ( 16 16 ApplicantImportExportSetup) … … 53 53 container.year = 2012 54 54 container.entry_level = 100 55 provider = [56 x for x in getUtilitiesFor(IApplicantsContainerProvider)57 if x[0] == 'waeup.kofa.applicants.ApplicantsContainer'][0]58 container.provider = provider59 55 container.application_category = list(AppCatSource()(container))[0] 60 56 container.description = u'Some Description\nwith linebreak\n' … … 73 69 self.assertEqual( 74 70 result, 75 'code,title,prefix,entry_level,year, provider,application_category,'71 'code,title,prefix,entry_level,year,application_category,' 76 72 'description,startdate,enddate,strict_deadline\r\n' 77 73 78 'dp2012,General Studies 2012/13,app,100,2012,' 79 'waeup.kofa.applicants.ApplicantsContainer,basic,' 74 'dp2012,General Studies 2012/13,app,100,2012,basic,' 80 75 '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",' 81 76 '2012-01-01,2012-01-31,1\r\n'
Note: See TracChangeset for help on using the changeset viewer.