Ignore:
Timestamp:
28 Nov 2014, 09:54:10 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename some exporter classes: singular not plural.

Location:
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/export.py

    r11543 r12084  
    2020import grok
    2121from waeup.kofa.applicants.interfaces import IApplicantBaseData
    22 from kofacustom.nigeria.applicants.export import NigeriaApplicantsExporter
     22from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter
    2323from kofacustom.nigeria.applicants.interfaces import (
    2424    INigeriaUGApplicant, INigeriaPGApplicant)
     
    2626    ICustomUGApplicant, ICustomPGApplicant)
    2727
    28 class CustomApplicantsExporter(NigeriaApplicantsExporter):
     28class CustomApplicantExporter(NigeriaApplicantExporter):
    2929    """Exporter for Custom Applicants.
    3030    """
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/tests/test_browser.py

    r11941 r12084  
    2929from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup
    3030from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup
    31 from kofacustom.skeleton.applicants.export import CustomApplicantsExporter
     31from kofacustom.skeleton.applicants.export import CustomApplicantExporter
    3232from kofacustom.skeleton.applicants.batching import CustomApplicantProcessor
    3333
     
    3737    layer = FunctionalLayer
    3838
    39 class ApplicantsExporterTest(ApplicantImportExportSetup):
     39class ApplicantExporterTest(ApplicantImportExportSetup):
    4040
    4141    layer = FunctionalLayer
    4242
    4343    def setUp(self):
    44         super(ApplicantsExporterTest, self).setUp()
     44        super(ApplicantExporterTest, self).setUp()
    4545        self.outfile = os.path.join(self.workdir, 'myoutput.csv')
    4646        self.cat = getUtility(ICatalog, name='applicants_catalog')
     
    7474        # set values we can expect in export file
    7575        self.applicant = self.setup_applicant(self.applicant)
    76         exporter = CustomApplicantsExporter()
     76        exporter = CustomApplicantExporter()
    7777        exporter.export_all(self.app, self.outfile)
    7878        result = open(self.outfile, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.