Ignore:
Timestamp:
6 Oct 2015, 15:30:04 (9 years ago)
Author:
Henrik Bettermann
Message:

Upgrade to waeup.kofa 1.3.3

Location:
main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/browser.py

    r11687 r13289  
    2727from waeup.kofa.students.browser import (
    2828    StudyLevelEditFormPage, StudyLevelDisplayFormPage,
    29     StudentBasePDFFormPage, ExportPDFCourseRegistrationSlipPage,
     29    StudentBasePDFFormPage,
    3030    CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage,
    3131    msave, emit_lock_message)
  • main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/export.py

    r12482 r13289  
    2929    StudentStudyLevelExporter,
    3030    CourseTicketExporter,
    31     StudentPaymentsExporter)
     31    StudentPaymentExporter)
    3232from waeup.kofa.utils.helpers import iface_names
    3333
     
    5353    #: Fieldnames considered by this exporter
    5454    fields = tuple(sorted(iface_names(
    55         ICustomStudentStudyLevel) + ['level'])) + (
     55        ICustomStudentStudyLevel))) + (
    5656        'student_id', 'number_of_tickets','certcode')
    5757
     
    6464        'certcode', 'display_fullname')
    6565
    66 class CustomStudentPaymentsExporter(StudentPaymentsExporter):
     66class CustomStudentPaymentExporter(StudentPaymentExporter):
    6767    """Exporter for OnlinePayment instances.
    6868    """
  • main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/tests/test_export.py

    r12482 r13289  
    77from kofacustom.sampleuni.utils.utils import CustomKofaUtils
    88from kofacustom.sampleuni.students.export import (
    9     CustomStudentExporter, CustomStudentPaymentsExporter)
     9    CustomStudentExporter, CustomStudentPaymentExporter)
    1010from kofacustom.sampleuni.testing import FunctionalLayer
    1111
     
    6161        return
    6262
    63 class CustomStudentPaymentsExporterTest(StudentImportExportSetup):
     63class CustomStudentPaymentExporterTest(StudentImportExportSetup):
    6464
    6565    layer = FunctionalLayer
    6666
    6767    def setUp(self):
    68         super(CustomStudentPaymentsExporterTest, self).setUp()
     68        super(CustomStudentPaymentExporterTest, self).setUp()
    6969        self.setup_for_export()
    7070        return
     
    7272    def test_ifaces(self):
    7373        # make sure we fullfill interface contracts
    74         obj = CustomStudentPaymentsExporter()
     74        obj = CustomStudentPaymentExporter()
    7575        verifyObject(ICSVExporter, obj)
    76         verifyClass(ICSVExporter, CustomStudentPaymentsExporter)
     76        verifyClass(ICSVExporter, CustomStudentPaymentExporter)
    7777        return
    7878
     
    8383        self.student['payments']['my-payment'].r_company = 'interswatch'
    8484        self.student['payments']['my-payment'].r_card_num = '789'
    85         exporter = CustomStudentPaymentsExporter()
     85        exporter = CustomStudentPaymentExporter()
    8686        exporter.export_all(self.app, self.outfile)
    8787        result = open(self.outfile, 'rb').read()
  • main/kofacustom.sampleuni/trunk/src/kofacustom/sampleuni/students/viewlets.py

    r12482 r13289  
    2525    StudentFileDisplay, StudentFileUpload, Image)
    2626from waeup.kofa.students.browser import (
    27     ExportPDFClearanceSlipPage, StudyCourseDisplayFormPage,
     27    StudyCourseDisplayFormPage,
    2828    StudyLevelDisplayFormPage)
    2929
Note: See TracChangeset for help on using the changeset viewer.