Changeset 15694
- Timestamp:
- 20 Oct 2019, 19:15:48 (5 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15685 r15694 1585 1585 return tabletitle 1586 1586 1587 def _signatures(self): 1588 return () 1589 1587 1590 def render(self): 1588 1591 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE … … 1619 1622 tableheader=tableheader, 1620 1623 tabledata=tabledata, 1621 omit_fields=self.omit_fields 1624 omit_fields=self.omit_fields, 1625 signatures=self._signatures(), 1622 1626 ) 1623 1627 -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r15664 r15694 2736 2736 self.assertEqual(self.browser.headers['Status'], '200 Ok') 2737 2737 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 2738 path = os.path.join(samples_dir(), 'course_registration_slip.pdf') 2739 open(path, 'wb').write(self.browser.contents) 2740 print "Sample PDF course_registration_slip.pdf written to %s" % path 2738 2741 # Students can remove course tickets 2739 2742 self.browser.open(self.student_path + '/studycourse/200/edit')
Note: See TracChangeset for help on using the changeset viewer.