Ignore:
Timestamp:
22 May 2013, 06:45:17 (12 years ago)
Author:
Henrik Bettermann
Message:

Add custom fields to certificates (not used in base package).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py

    r10172 r10185  
    380380            'code,faculty_code,department_code,title,study_mode,start_level,'
    381381            'end_level,application_category,ratio,school_fee_1,'
    382             'school_fee_2,school_fee_3,school_fee_4,users_with_local_roles\r\n'
    383             'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,'
     382            'school_fee_2,school_fee_3,school_fee_4,'
     383            'custom_textline_1,custom_textline_2,'
     384            'custom_float_1,custom_float_2,'
     385            'users_with_local_roles\r\n'
     386            'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,,,,,'
    384387            '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
    385388            )
     
    394397            'code,faculty_code,department_code,title,study_mode,start_level,'
    395398            'end_level,application_category,ratio,school_fee_1,'
    396             'school_fee_2,school_fee_3,school_fee_4,users_with_local_roles\r\n'
    397             'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,'
    398             '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
    399             'CERT2,F1,D1,Master of Cheddar,ct_ft,400,700,cest,,,,,,[]\r\n'
     399            'school_fee_2,school_fee_3,school_fee_4,'
     400            'custom_textline_1,custom_textline_2,'
     401            'custom_float_1,custom_float_2,'
     402            'users_with_local_roles\r\n'
     403            'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,,,,,'
     404            '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
     405            'CERT2,F1,D1,Master of Cheddar,ct_ft,400,700,cest,,,,,,,,,,[]\r\n'
    400406            )
    401407        return
     
    411417            'end_level,application_category,ratio,'
    412418            'school_fee_1,school_fee_2,school_fee_3,school_fee_4,'
     419            'custom_textline_1,custom_textline_2,'
     420            'custom_float_1,custom_float_2,'
    413421            'users_with_local_roles\r\n'
    414             'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,'
    415             '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
    416             'CERT2,F1,D1,Master of Cheddar,ct_ft,400,700,cest,,,,,,[]\r\n'
    417             'CERT3,F1,D2,Cert. of Rubbish,dp_pt,100,200,no,,,,,,[]\r\n'
     422            'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,,,,,'
     423            '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
     424            'CERT2,F1,D1,Master of Cheddar,ct_ft,400,700,cest,,,,,,,,,,[]\r\n'
     425            'CERT3,F1,D2,Cert. of Rubbish,dp_pt,100,200,no,,,,,,,,,,[]\r\n'
    418426            )
    419427        return
     
    428436            'end_level,application_category,ratio,'
    429437            'school_fee_1,school_fee_2,school_fee_3,school_fee_4,'
     438            'custom_textline_1,custom_textline_2,'
     439            'custom_float_1,custom_float_2,'
    430440            'users_with_local_roles\r\n'
    431             'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,'
    432             '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
    433             'CERT2,F1,D1,Master of Cheddar,ct_ft,400,700,cest,,,,,,[]\r\n'
    434             'CERT3,F1,D2,Cert. of Rubbish,dp_pt,100,200,no,,,,,,[]\r\n'
     441            'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,,,,,'
     442            '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
     443            'CERT2,F1,D1,Master of Cheddar,ct_ft,400,700,cest,,,,,,,,,,[]\r\n'
     444            'CERT3,F1,D2,Cert. of Rubbish,dp_pt,100,200,no,,,,,,,,,,[]\r\n'
    435445            )
    436446        return
Note: See TracChangeset for help on using the changeset viewer.