- Timestamp:
- 21 May 2015, 17:05:42 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py
r12730 r12975 107 107 108 108 def test_interswitch_form_school_fees(self): 109 self.student['studycourse'].entry_session = 2013 109 110 self.app['configuration']['2004'].school_fee_1 = 51750.0 110 111 # Manager can access InterswitchForm … … 128 129 self.payment_url = self.browser.url 129 130 self.browser.getLink("CollegePAY", index=0).click() 131 self.assertTrue( 132 'Please pay acceptance fee first' in self.browser.contents) 133 acc_payment = createObject('waeup.StudentOnlinePayment') 134 acc_payment.p_state = 'paid' 135 acc_payment.p_category = 'clearance' 136 self.student['payments']['xyz'] = acc_payment 137 self.browser.getLink("CollegePAY", index=0).click() 130 138 self.assertMatches('...<input type="hidden" name="pay_item_id" value="105" />...', 131 139 self.browser.contents) … … 139 147 '...item_name="School Fee" item_amt="4600000" bank_id="7" acct_num="1014847058"...', 140 148 self.browser.contents) 149 141 150 142 151 def test_interswitch_form_acceptance_fees(self):
Note: See TracChangeset for help on using the changeset viewer.