Changeset 10172 for main/waeup.kofa/trunk/src/waeup/kofa/university
- Timestamp:
- 11 May 2013, 06:17:49 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/university
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/university/export.py
r9228 r10172 156 156 #: Fieldnames considered by this exporter 157 157 fields = ('code', 'faculty_code', 'department_code', 'title', 'study_mode', 158 'start_level', 'end_level', 'application_category', 158 'start_level', 'end_level', 'application_category', 'ratio', 159 159 'school_fee_1', 'school_fee_2', 'school_fee_3', 'school_fee_4', 160 160 'users_with_local_roles') -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py
r9228 r10172 379 379 result, 380 380 '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,' 382 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,,,,, '383 'CERT1,F1,D1,Master of Cheese,ct_ft,100,300,basic,,,,,,' 384 384 '"[{\'user_name\': u\'bob\', \'local_role\': u\'bobsrole\'}]"\r\n' 385 385 ) … … 393 393 result, 394 394 '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,' 396 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'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' 400 400 ) 401 401 return … … 409 409 result, 410 410 'code,faculty_code,department_code,title,study_mode,start_level,' 411 'end_level,application_category, '411 'end_level,application_category,ratio,' 412 412 'school_fee_1,school_fee_2,school_fee_3,school_fee_4,' 413 413 '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' 418 418 ) 419 419 return … … 426 426 result, 427 427 'code,faculty_code,department_code,title,study_mode,start_level,' 428 'end_level,application_category, '428 'end_level,application_category,ratio,' 429 429 'school_fee_1,school_fee_2,school_fee_3,school_fee_4,' 430 430 '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' 435 435 ) 436 436 return
Note: See TracChangeset for help on using the changeset viewer.