Changeset 9845 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 8 Jan 2013, 14:24:05 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r9844 r9845 2834 2834 # pass different keywords than 2835 2835 # for the (default) students_catalog 2836 cat ='coursetickets',2836 catalog='coursetickets', 2837 2837 session=session, 2838 2838 level=level, -
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r9844 r9845 123 123 # developers must look into catalog to see what keywords are 124 124 # valid. 125 if kw.get('cat ', None) == 'coursetickets':125 if kw.get('catalog', None) == 'coursetickets': 126 126 coursetickets = CourseTicketsQuery(**kw).query() 127 127 students = [] -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r9844 r9845 573 573 # only course tickets which belong to this course are exported 574 574 exporter.export_filtered( 575 self.student, self.outfile, cat ='coursetickets', code='CRS1')575 self.student, self.outfile, catalog='coursetickets', code='CRS1') 576 576 result = open(self.outfile, 'rb').read() 577 577 self.assertEqual( … … 582 582 ) 583 583 exporter.export_filtered( 584 self.student, self.outfile, cat ='coursetickets', code='any code')584 self.student, self.outfile, catalog='coursetickets', code='any code') 585 585 result = open(self.outfile, 'rb').read() 586 586 self.assertEqual(
Note: See TracChangeset for help on using the changeset viewer.