Changeset 8262 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 24 Apr 2012, 15:27:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r8252 r8262 1271 1271 payment_url = self.browser.url 1272 1272 1273 # The pdf payment receiptcan't yet be opened1274 self.browser.open(payment_url + '/payment_receipt.pdf')1275 self.assertMatches('...Ticket not yet paid...',1276 self.browser.contents)1273 # The pdf payment slip can't yet be opened 1274 #self.browser.open(payment_url + '/payment_slip.pdf') 1275 #self.assertMatches('...Ticket not yet paid...', 1276 # self.browser.contents) 1277 1277 1278 1278 # The same payment (with same p_item, p_session and p_category) … … 1307 1307 self.browser.contents) 1308 1308 1309 # Managers can open the pdf payment receipt1309 # Managers can open the pdf payment slip 1310 1310 self.browser.open(payment_url) 1311 self.browser.getLink("Download payment receipt").click()1311 self.browser.getLink("Download payment slip").click() 1312 1312 self.assertEqual(self.browser.headers['Status'], '200 Ok') 1313 1313 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') … … 1384 1384 ac.owner = self.student_id 1385 1385 1386 # Students can open the pdf payment receipt1387 self.browser.open(payment_url + '/payment_ receipt.pdf')1386 # Students can open the pdf payment slip 1387 self.browser.open(payment_url + '/payment_slip.pdf') 1388 1388 self.assertEqual(self.browser.headers['Status'], '200 Ok') 1389 1389 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
Note: See TracChangeset for help on using the changeset viewer.