Ignore:
Timestamp:
11 May 2013, 06:17:49 (11 years ago)
Author:
Henrik Bettermann
Message:

Do also export ratio attribute.

File:
1 edited

Legend:

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

    r9228 r10172  
    379379            result,
    380380            'code,faculty_code,department_code,title,study_mode,start_level,'
    381             'end_level,application_category,school_fee_1,'
     381            'end_level,application_category,ratio,school_fee_1,'
    382382            '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,,,,,'
     383            'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,'
    384384            '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n'
    385385            )
     
    393393            result,
    394394            'code,faculty_code,department_code,title,study_mode,start_level,'
    395             'end_level,application_category,school_fee_1,'
     395            'end_level,application_category,ratio,school_fee_1,'
    396396            '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'
     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'
    400400            )
    401401        return
     
    409409            result,
    410410            'code,faculty_code,department_code,title,study_mode,start_level,'
    411             'end_level,application_category,'
     411            'end_level,application_category,ratio,'
    412412            'school_fee_1,school_fee_2,school_fee_3,school_fee_4,'
    413413            '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'
     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'
    418418            )
    419419        return
     
    426426            result,
    427427            'code,faculty_code,department_code,title,study_mode,start_level,'
    428             'end_level,application_category,'
     428            'end_level,application_category,ratio,'
    429429            'school_fee_1,school_fee_2,school_fee_3,school_fee_4,'
    430430            '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'
     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'
    435435            )
    436436        return
Note: See TracChangeset for help on using the changeset viewer.