Ignore:
Timestamp:
30 Mar 2012, 10:23:32 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove all ApplicantsContainerProvider? components. Experience has shown that we only need one type of ApplicantsContainers? and one type of Applicants but with different interfaces for form generation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py

    r7984 r8008  
    1212    ApplicantsContainerExporter, ApplicantsExporter)
    1313from waeup.kofa.applicants.interfaces import (
    14     IApplicantsContainerProvider, AppCatSource, ApplicationTypeSource)
     14    AppCatSource, ApplicationTypeSource)
    1515from waeup.kofa.applicants.tests.test_batching import (
    1616    ApplicantImportExportSetup)
     
    5353        container.year = 2012
    5454        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 = provider
    5955        container.application_category = list(AppCatSource()(container))[0]
    6056        container.description = u'Some Description\nwith linebreak\n'
     
    7369        self.assertEqual(
    7470            result,
    75             'code,title,prefix,entry_level,year,provider,application_category,'
     71            'code,title,prefix,entry_level,year,application_category,'
    7672            'description,startdate,enddate,strict_deadline\r\n'
    7773
    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,'
    8075            '"Some Description\nwith linebreak\n<<de>>man spriht deutsh",'
    8176            '2012-01-01,2012-01-31,1\r\n'
Note: See TracChangeset for help on using the changeset viewer.