Changeset 12086 for main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants
- Timestamp:
- 28 Nov 2014, 09:55:52 (10 years ago)
- Location:
- main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/export.py
r11940 r12086 20 20 import grok 21 21 from waeup.kofa.applicants.interfaces import IApplicantBaseData 22 from kofacustom.nigeria.applicants.export import NigeriaApplicant sExporter22 from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter 23 23 from kofacustom.nigeria.applicants.interfaces import ( 24 24 INigeriaUGApplicant, INigeriaPGApplicant) … … 26 26 ICustomUGApplicant, ICustomPGApplicant) 27 27 28 class CustomApplicant sExporter(NigeriaApplicantsExporter):28 class CustomApplicantExporter(NigeriaApplicantExporter): 29 29 """Exporter for Custom Applicants. 30 30 """ -
main/kofacustom.wdu/trunk/src/kofacustom/wdu/applicants/tests/test_browser.py
r11942 r12086 29 29 from waeup.kofa.applicants.tests.test_browser import ApplicantsFullSetup 30 30 from waeup.kofa.applicants.tests.test_batching import ApplicantImportExportSetup 31 from kofacustom.wdu.applicants.export import CustomApplicant sExporter31 from kofacustom.wdu.applicants.export import CustomApplicantExporter 32 32 from kofacustom.wdu.applicants.batching import CustomApplicantProcessor 33 33 … … 37 37 layer = FunctionalLayer 38 38 39 class Applicant sExporterTest(ApplicantImportExportSetup):39 class ApplicantExporterTest(ApplicantImportExportSetup): 40 40 41 41 layer = FunctionalLayer 42 42 43 43 def setUp(self): 44 super(Applicant sExporterTest, self).setUp()44 super(ApplicantExporterTest, self).setUp() 45 45 self.outfile = os.path.join(self.workdir, 'myoutput.csv') 46 46 self.cat = getUtility(ICatalog, name='applicants_catalog') … … 74 74 # set values we can expect in export file 75 75 self.applicant = self.setup_applicant(self.applicant) 76 exporter = CustomApplicant sExporter()76 exporter = CustomApplicantExporter() 77 77 exporter.export_all(self.app, self.outfile) 78 78 result = open(self.outfile, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.