- Timestamp:
- 11 Jul 2019, 19:38:20 (5 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
r15422 r15496 205 205 206 206 fields = ('course', 'faculty_code', 'department_code', 'certificate_code', 207 'level', 'mandatory' )207 'level', 'mandatory', 'course_category') 208 208 209 209 title = _(u'Courses in Certificates') -
main/waeup.kofa/trunk/src/waeup/kofa/university/tests/test_export.py
r15422 r15496 538 538 self.assertEqual( 539 539 result, 540 'course,faculty_code,department_code,certificate_code,level,mandatory\r\n' 541 'C1,F1,D1,CERT1,100,1\r\n' 540 'course,faculty_code,department_code,certificate_code,' 541 'level,mandatory,course_category\r\n' 542 'C1,F1,D1,CERT1,100,1,\r\n' 542 543 ) 543 544 return … … 550 551 self.assertEqual( 551 552 result, 552 'course,faculty_code,department_code,certificate_code,level,mandatory\r\n' 553 'C1,F1,D1,CERT1,100,1\r\n' 554 'C2,F1,D1,CERT1,400,0\r\n' 553 'course,faculty_code,department_code,certificate_code,' 554 'level,mandatory,course_category\r\n' 555 'C1,F1,D1,CERT1,100,1,\r\n' 556 'C2,F1,D1,CERT1,400,0,\r\n' 555 557 ) 556 558 return … … 563 565 self.assertEqual( 564 566 result, 565 'course,faculty_code,department_code,certificate_code,level,mandatory\r\n' 566 'C1,F1,D1,CERT1,100,1\r\n' 567 'C2,F1,D1,CERT1,400,0\r\n' 568 'C3,F1,D2,CERT3,100,0\r\n' 567 'course,faculty_code,department_code,certificate_code,' 568 'level,mandatory,course_category\r\n' 569 'C1,F1,D1,CERT1,100,1,\r\n' 570 'C2,F1,D1,CERT1,400,0,\r\n' 571 'C3,F1,D2,CERT3,100,0,\r\n' 569 572 ) 570 573 return … … 576 579 self.assertEqual( 577 580 result, 578 'course,faculty_code,department_code,certificate_code,level,mandatory\r\n' 579 'C1,F1,D1,CERT1,100,1\r\n' 580 'C2,F1,D1,CERT1,400,0\r\n' 581 'C3,F1,D2,CERT3,100,0\r\n' 582 ) 583 return 581 'course,faculty_code,department_code,certificate_code,' 582 'level,mandatory,course_category\r\n' 583 'C1,F1,D1,CERT1,100,1,\r\n' 584 'C2,F1,D1,CERT1,400,0,\r\n' 585 'C3,F1,D2,CERT3,100,0,\r\n' 586 ) 587 return
Note: See TracChangeset for help on using the changeset viewer.