- Timestamp:
- 29 Oct 2019, 13:13:31 (5 years ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/tests.py
r15301 r15718 97 97 '<span>40000.0</span>' in self.browser.contents) 98 98 self.payment_url = self.browser.url 99 self.browser.getLink(" CollegePAY", index=0).click()99 self.browser.getLink("Pay via Interswitch", index=0).click() 100 100 self.assertTrue('<input type="hidden" name="pay_item_id" value="101" />' in 101 101 self.browser.contents) … … 119 119 '<span>3456.0</span>' in self.browser.contents) 120 120 self.payment_url = self.browser.url 121 self.browser.getLink(" CollegePAY", index=0).click()121 self.browser.getLink("Pay via Interswitch", index=0).click() 122 122 self.assertTrue('<input type="hidden" name="pay_item_id" value="101" />' in 123 123 self.browser.contents) … … 139 139 self.student['payments']['xyz'] = acc_payment 140 140 self.browser.open(self.payments_path + '/xyz') 141 self.browser.getLink(" CollegePAY", index=0).click()141 self.browser.getLink("Pay via Interswitch", index=0).click() 142 142 self.assertMatches('...<input type="hidden" name="pay_item_id" value="101" />...', 143 143 self.browser.contents) … … 151 151 acc_payment.creation_date -= delta 152 152 self.browser.open(self.payments_path + '/xyz') 153 self.browser.getLink(" CollegePAY", index=0).click()153 self.browser.getLink("Pay via Interswitch", index=0).click() 154 154 self.assertMatches( 155 155 '...This payment ticket is too old. Please create a new ticket...', … … 158 158 acc_payment.creation_date += delta 159 159 self.browser.open(self.payments_path + '/xyz') 160 self.browser.getLink(" CollegePAY", index=0).click()160 self.browser.getLink("Pay via Interswitch", index=0).click() 161 161 self.assertMatches('...Total Amount Authorized:...', 162 162 self.browser.contents) … … 277 277 def test_interswitch_form(self): 278 278 # Manager can access InterswitchForm 279 self.browser.getLink(" CollegePAY", index=0).click()279 self.browser.getLink("Pay via Interswitch", index=0).click() 280 280 self.assertMatches('...Total Amount Authorized:...', 281 281 self.browser.contents) … … 286 286 self.applicant.values()[0].creation_date -= delta 287 287 self.browser.open(self.payment_url) 288 self.browser.getLink(" CollegePAY", index=0).click()288 self.browser.getLink("Pay via Interswitch", index=0).click() 289 289 self.assertMatches( 290 290 '...This payment ticket is too old. Please create a new ticket...', -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/browser.py
r15187 r15718 29 29 StudentBasePDFFormPage, ExportPDFCourseRegistrationSlip, 30 30 CourseTicketDisplayFormPage, StudentTriggerTransitionFormPage, 31 BedTicketAddPage,ExportPDFTranscriptSlip,31 ExportPDFTranscriptSlip, 32 32 msave, emit_lock_message) 33 33 from waeup.kofa.students.interfaces import ( … … 41 41 NigeriaExportPDFPaymentSlip, 42 42 NigeriaExportPDFClearanceSlip, 43 NigeriaBedTicketAddPage, 43 44 ) 44 45 from kofacustom.edopoly.students.interfaces import ( … … 47 48 from kofacustom.edopoly.interfaces import MessageFactory as _ 48 49 49 class CustomBedTicketAddPage( BedTicketAddPage):50 class CustomBedTicketAddPage(NigeriaBedTicketAddPage): 50 51 with_ac = False 51 52
Note: See TracChangeset for help on using the changeset viewer.