Changeset 17897 for main


Ignore:
Timestamp:
20 Aug 2024, 09:13:22 (4 weeks ago)
Author:
Henrik Bettermann
Message:

Add fields.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/export.py

    r17862 r17897  
    191191        'lastname',
    192192        'sex',
    193         #'email',
    194         #'phone',
     193        'email',
     194        'email2',
     195        'phone',
    195196        'nationality',
    196197        'date_of_birth',
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_export.py

    r17862 r17897  
    186186        self.assertMatches(
    187187            'student_id,matric_number,reg_number,firstname,middlename,lastname,'
    188             'sex,nationality,date_of_birth,state,lg_state,lg_area,current_mode,'
     188            'sex,email,email2,phone,nationality,date_of_birth,state,lg_state,lg_area,current_mode,'
    189189            'certificate,faccode,depcode,current_level,current_session,'
    190190            'current_verdict,entry_session,nysc_verdict,nysc_senate_info,'
    191191            'nysc_date_of_graduation,nysc_updated,nysc_processed,%s\r\n'
    192             'A111111,234,123,Anna,M.,Tester,f,NG,1981-02-04#,created,'
     192            'A111111,234,123,Anna,M.,Tester,f,anna@sample.com,,+234-123-12345,NG,1981-02-04#,created,'
    193193            'cross-river,abc,ug_ft,Unnamed Certificate,NA,NA,200,2012,0,2010,'
    194194            'Student with carryover courses,,,,0,,,,,,'
Note: See TracChangeset for help on using the changeset viewer.