Changeset 9807 for main


Ignore:
Timestamp:
17 Dec 2012, 11:27:14 (12 years ago)
Author:
Henrik Bettermann
Message:

Export current_mode.

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

Legend:

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

    r9802 r9807  
    322322    fields = ('student_id', ) + (
    323323        'state', 'certcode', 'faccode', 'depcode', 'is_postgrad',
    324         'current_level', 'current_session',
     324        'current_level', 'current_session', 'current_mode',
    325325        ) + year_range_tuple
    326326
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py

    r9800 r9807  
    825825        self.assertEqual(
    826826            'student_id,state,certcode,faccode,depcode,is_postgrad,'
    827             'current_level,current_session,'
     827            'current_level,current_session,current_mode,'
    828828            '%s\r\n'
    829             'A111111,created,CERT1,NA,NA,0,200,2012,'
     829            'A111111,created,CERT1,NA,NA,0,200,2012,ug_ft,'
    830830            ',,,,,,,,,\r\n' % year_range_str,
    831831            result
     
    849849        self.assertEqual(
    850850            'student_id,state,certcode,faccode,depcode,is_postgrad,'
    851             'current_level,current_session,'
     851            'current_level,current_session,current_mode,'
    852852            '%s\r\nA111111,created,CERT1,NA,NA,0,'
    853             '200,2012,,,,,,,12.12,,,\r\n' % year_range_str,
     853            '200,2012,ug_ft,,,,,,,12.12,,,\r\n' % year_range_str,
    854854            result
    855855            )
Note: See TracChangeset for help on using the changeset viewer.