- Timestamp:
- 28 Nov 2014, 08:59:38 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/tests/test_browser.py
r11739 r12080 40 40 from waeup.kofa.interfaces import IBatchProcessor 41 41 from kofacustom.nigeria.testing import FunctionalLayer 42 from kofacustom.nigeria.applicants.export import NigeriaApplicant sExporter42 from kofacustom.nigeria.applicants.export import NigeriaApplicantExporter 43 43 from kofacustom.nigeria.applicants.batching import NigeriaApplicantProcessor 44 44 … … 320 320 return 321 321 322 class Applicant sExporterTest(ApplicantImportExportSetup):322 class ApplicantExporterTest(ApplicantImportExportSetup): 323 323 324 324 layer = FunctionalLayer 325 325 326 326 def setUp(self): 327 super(Applicant sExporterTest, self).setUp()327 super(ApplicantExporterTest, self).setUp() 328 328 self.outfile = os.path.join(self.workdir, 'myoutput.csv') 329 329 self.cat = getUtility(ICatalog, name='applicants_catalog') … … 357 357 # set values we can expect in export file 358 358 self.applicant = self.setup_applicant(self.applicant) 359 exporter = NigeriaApplicant sExporter()359 exporter = NigeriaApplicantExporter() 360 360 exporter.export_all(self.app, self.outfile) 361 361 result = open(self.outfile, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.