- Timestamp:
- 6 Oct 2015, 15:30:04 (9 years ago)
- Location:
- main/kofacustom.sampleuni/trunk
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.sampleuni/trunk/setup.py
r12482 r13289 9 9 'grokui.admin', 10 10 'grokcore.startup', 11 'waeup.kofa >= 1.3. 1',11 'waeup.kofa >= 1.3.3', 12 12 ], 13 13 -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/browser.py
r11687 r13289 27 27 from waeup.kofa.students.browser import ( 28 28 StudyLevelEditFormPage, StudyLevelDisplayFormPage, 29 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlipPage,29 StudentBasePDFFormPage, 30 30 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 31 31 msave, emit_lock_message) -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/export.py
r12482 r13289 29 29 StudentStudyLevelExporter, 30 30 CourseTicketExporter, 31 StudentPayment sExporter)31 StudentPaymentExporter) 32 32 from waeup.kofa.utils.helpers import iface_names 33 33 … … 53 53 #: Fieldnames considered by this exporter 54 54 fields = tuple(sorted(iface_names( 55 ICustomStudentStudyLevel) + ['level'])) + (55 ICustomStudentStudyLevel))) + ( 56 56 'student_id', 'number_of_tickets','certcode') 57 57 … … 64 64 'certcode', 'display_fullname') 65 65 66 class CustomStudentPayment sExporter(StudentPaymentsExporter):66 class CustomStudentPaymentExporter(StudentPaymentExporter): 67 67 """Exporter for OnlinePayment instances. 68 68 """ -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/tests/test_export.py
r12482 r13289 7 7 from kofacustom.sampleuni.utils.utils import CustomKofaUtils 8 8 from kofacustom.sampleuni.students.export import ( 9 CustomStudentExporter, CustomStudentPayment sExporter)9 CustomStudentExporter, CustomStudentPaymentExporter) 10 10 from kofacustom.sampleuni.testing import FunctionalLayer 11 11 … … 61 61 return 62 62 63 class CustomStudentPayment sExporterTest(StudentImportExportSetup):63 class CustomStudentPaymentExporterTest(StudentImportExportSetup): 64 64 65 65 layer = FunctionalLayer 66 66 67 67 def setUp(self): 68 super(CustomStudentPayment sExporterTest, self).setUp()68 super(CustomStudentPaymentExporterTest, self).setUp() 69 69 self.setup_for_export() 70 70 return … … 72 72 def test_ifaces(self): 73 73 # make sure we fullfill interface contracts 74 obj = CustomStudentPayment sExporter()74 obj = CustomStudentPaymentExporter() 75 75 verifyObject(ICSVExporter, obj) 76 verifyClass(ICSVExporter, CustomStudentPayment sExporter)76 verifyClass(ICSVExporter, CustomStudentPaymentExporter) 77 77 return 78 78 … … 83 83 self.student['payments']['my-payment'].r_company = 'interswatch' 84 84 self.student['payments']['my-payment'].r_card_num = '789' 85 exporter = CustomStudentPayment sExporter()85 exporter = CustomStudentPaymentExporter() 86 86 exporter.export_all(self.app, self.outfile) 87 87 result = open(self.outfile, 'rb').read() -
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/viewlets.py
r12482 r13289 25 25 StudentFileDisplay, StudentFileUpload, Image) 26 26 from waeup.kofa.students.browser import ( 27 ExportPDFClearanceSlipPage,StudyCourseDisplayFormPage,27 StudyCourseDisplayFormPage, 28 28 StudyLevelDisplayFormPage) 29 29 -
main/kofacustom.sampleuni/trunk/versions.cfg
r12482 r13289 2 2 [buildout] 3 3 # default set of versions we use. 4 extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg 4 #extends= http://grok.zope.org/releaseinfo/grok-1.1.cfg 5 extends = grok-1.1.cfg 5 6 6 7 versions = versions … … 151 152 zc.zodbrecipes = 2.0.0 152 153 153 waeup.kofa = 1.3. 1154 waeup.kofa = 1.3.3 154 155 155 156 # Added by buildout at 2015-01-16 07:34:12.267717
Note: See TracChangeset for help on using the changeset viewer.