- Timestamp:
- 28 Nov 2014, 09:53:21 (10 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/export.py
r11546 r12081 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) 25 25 from waeup.aaue.applicants.interfaces import ICustomUGApplicant 26 26 27 class CustomApplicant sExporter(NigeriaApplicantsExporter):27 class CustomApplicantExporter(NigeriaApplicantExporter): 28 28 """Exporter for Nigeria Applicants. 29 29 """ -
main/waeup.aaue/trunk/src/waeup/aaue/students/export.py
r11546 r12081 24 24 ICustomStudentOnlinePayment) 25 25 from kofacustom.nigeria.students.export import ( 26 NigeriaStudent sExporter, NigeriaStudentStudyCourseExporter,26 NigeriaStudentExporter, NigeriaStudentStudyCourseExporter, 27 27 NigeriaStudentStudyLevelExporter, 28 28 NigeriaCourseTicketExporter, NigeriaStudentPaymentsExporter) 29 29 from waeup.kofa.utils.helpers import iface_names 30 30 31 class CustomStudent sExporter(NigeriaStudentsExporter):31 class CustomStudentExporter(NigeriaStudentExporter): 32 32 """Exporter for Students. 33 33 """ -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_export.py
r11807 r12081 7 7 from waeup.aaue.utils.utils import CustomKofaUtils 8 8 from waeup.aaue.students.export import ( 9 CustomStudent sExporter, CustomStudentPaymentsExporter,9 CustomStudentExporter, CustomStudentPaymentsExporter, 10 10 CustomStudentStudyLevelExporter) 11 11 from waeup.aaue.testing import FunctionalLayer 12 12 13 13 14 class CustomStudent sExporterTest(StudentImportExportSetup):14 class CustomStudentExporterTest(StudentImportExportSetup): 15 15 16 16 layer = FunctionalLayer 17 17 18 18 def setUp(self): 19 super(CustomStudent sExporterTest, self).setUp()19 super(CustomStudentExporterTest, self).setUp() 20 20 self.setup_for_export() 21 21 result_entry = ResultEntry( … … 33 33 def test_ifaces(self): 34 34 # make sure we fullfill interface contracts 35 obj = CustomStudent sExporter()35 obj = CustomStudentExporter() 36 36 verifyObject(ICSVExporter, obj) 37 verifyClass(ICSVExporter, CustomStudent sExporter)37 verifyClass(ICSVExporter, CustomStudentExporter) 38 38 return 39 39 … … 43 43 # set values we can expect in export file 44 44 self.setup_student(self.student) 45 exporter = CustomStudent sExporter()45 exporter = CustomStudentExporter() 46 46 exporter.export_all(self.app, self.outfile) 47 47 result = open(self.outfile, 'rb').read()
Note: See TracChangeset for help on using the changeset viewer.