Changeset 15803 for main/waeup.aaue/trunk
- Timestamp:
- 13 Nov 2019, 06:48:34 (5 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r15791 r15803 92 92 self.assertMatches('...Payment ticket created...', 93 93 self.browser.contents) 94 # Payment tickets can be downloaded without submitting the form. 94 # Ticket can't be downloaded because payment gatewy is not specified 95 self.assertFalse("Download payment slip" in self.browser.contents) 96 self.applicant.payments[0].r_company = u'interswitch' 97 self.browser.open(self.edit_path) 98 self.browser.getLink(self.applicant.payments[0].p_id).click() 99 # Payment tickets can now be downloaded without submitting the form. 95 100 self.browser.getLink("Download payment slip").click() 96 101 self.assertEqual(self.browser.headers['Content-Type'], -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r15625 r15803 184 184 sfpt_value = ctrl.options[1] 185 185 self.student['studycourse'].entry_session = 2013 186 self.student['payments'][sfpt_value].r_company = u'interswitch' 186 187 self.browser.open(self.payments_path + '/' + sfpt_value) 187 188 … … 634 635 # 50250 + 1000 + 500 + 100 = 51850 635 636 self.assertEqual(self.student['payments'][value].amount_auth, 51850.0) 637 self.student['payments'][value].r_company = u'interswitch' 636 638 self.browser.open(self.browser.url + '/payment_slip.pdf') 637 639 self.assertEqual(self.browser.headers['Status'], '200 Ok')
Note: See TracChangeset for help on using the changeset viewer.