Ignore:
Timestamp:
25 Oct 2012, 21:52:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Reorganize ICourseTicket. Add ICourseTicketImport which validates a new field called level_session.

Customize checkConversion of CourseTicketProcessor?:
If level_session is provided in row the importer checks if
the parent studylevel exists and if its level_session
attribute corresponds with the expected value in row. The error message
then tells us why course result import fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r9412 r9420  
    161161        self.certificate.school_fee_1 = 40000.0
    162162        self.certificate.school_fee_2 = 20000.0
    163         self.app['faculties']['fac1'] = Faculty(code='fac1')
    164         self.app['faculties']['fac1']['dep1'] = Department(code='dep1')
     163        self.app['faculties']['fac1'] = Faculty(code=u'fac1')
     164        self.app['faculties']['fac1']['dep1'] = Department(code=u'dep1')
    165165        self.app['faculties']['fac1']['dep1'].certificates.addCertificate(
    166166            self.certificate)
Note: See TracChangeset for help on using the changeset viewer.