Changeset 15400


Ignore:
Timestamp:
3 May 2019, 06:18:26 (5 years ago)
Author:
Henrik Bettermann
Message:

Add entry_session to students exporter.

Location:
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/export.py

    r14886 r15400  
    4040        ICustomStudent, omit=['loggerInfo']))) + (
    4141        'password', 'state', 'history', 'certcode', 'is_postgrad',
    42         'current_level', 'current_session')
     42        'current_level', 'current_session', 'entry_session')
    4343
    4444class CustomStudentStudyCourseExporter(NigeriaStudentStudyCourseExporter):
  • main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/tests/test_export.py

    r14716 r15400  
    6565            'scd_sit_results,scd_sit_type,sex,student_id,'
    6666            'suspended,suspended_comment,password,state,history,certcode,is_postgrad,'
    67             'current_level,current_session\r\nmy adm code,,,,'
     67            'current_level,current_session,entry_session\r\nmy adm code,,,,'
    6868            '"[(\'printing_craft_practice\', \'A1\')]",my clr code,1981-02-04#,,,'
    6969            'anna@sample.com,,,,,,,,,,,,,Anna,,,,,,"[(\'printing_craft_practice\', \'A1\')]"'
     
    7272            '"[(\'printing_craft_practice\', \'A1\')]",,f,A111111,0,,,created,'
    7373            '[u\'2012-11-06 13:16:41 WAT - Record created by system\'],'
    74             'CERT1,0,200,2012\r\n',
     74            'CERT1,0,200,2012,2010\r\n',
    7575            result
    7676            )
Note: See TracChangeset for help on using the changeset viewer.