Changeset 14595 for main


Ignore:
Timestamp:
27 Feb 2017, 08:17:23 (8 years ago)
Author:
Henrik Bettermann
Message:

Export level and level_session too.

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

Legend:

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

    r14593 r14595  
    112112    grok.name('levelreportdata')
    113113
    114     fields = ('matric_number', 'display_fullname',
     114    fields = ('matric_number', 'display_fullname','level','level_session',
    115115        'credits_counted', 'credits_passed','level_gpa',
    116116        'failed_courses','not_taken_courses','cum_credits_taken',
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_export.py

    r14593 r14595  
    193193        self.assertEqual(
    194194            result,
    195             'matric_number,display_fullname,credits_counted,credits_passed,'
     195            'matric_number,display_fullname,level,level_session,'
     196            'credits_counted,credits_passed,'
    196197            'level_gpa,failed_courses,not_taken_courses,cum_credits_taken,'
    197198            'cum_credits_passed,cgpa,remark\r\n'
    198             '234,"TESTER, Anna M.",0,0,0.000,,CRS1 ,0,0,0.000,\r\n'
    199             )
    200         return
    201 
    202 
     199            '234,"TESTER, Anna M.",100,2012,0,0,0.000,,CRS1 ,0,0,0.000,\r\n'
     200            )
     201        return
     202
     203
Note: See TracChangeset for help on using the changeset viewer.