Changeset 7029 for main/waeup.sirp/trunk
- Timestamp:
- 8 Nov 2011, 07:39:37 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7028 r7029 645 645 grok.order(1) 646 646 grok.context(IStudentStudyLevel) 647 grok.view(StudyLevelDisplayFormPage) 647 648 grok.require('waeup.viewStudent') 648 649 icon = 'actionicon_pdf.png' … … 1009 1010 grok.order(1) 1010 1011 grok.context(IStudentOnlinePayment) 1012 grok.view(OnlinePaymentDisplayFormPage) 1011 1013 grok.require('waeup.viewStudent') 1012 1014 icon = 'actionicon_pdf.png' … … 1306 1308 grok.order(1) 1307 1309 grok.context(IBedTicket) 1310 grok.view(BedTicketDisplayFormPage) 1308 1311 grok.require('waeup.viewStudent') 1309 1312 icon = 'actionicon_pdf.png' -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7028 r7029 672 672 self.assertMatches('...Successfully added COURSE1...', 673 673 self.browser.contents) 674 # Students can open the pdf course registration slip 675 self.browser.getLink("Download course registration slip").click() 676 self.assertEqual(self.browser.headers['Status'], '200 Ok') 677 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 678 # Students can remove course tickets 679 self.browser.open(self.student_path + '/studycourse/200/edit') 674 680 self.browser.getControl("Remove selected", index=0).click() 675 681 self.assertTrue('No ticket selected' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.