- Timestamp:
- 21 Aug 2024, 08:09:35 (5 months ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r17672 r17900 108 108 self.pay_item_id = '102' 109 109 if self.context.p_category in ( 110 'registration', 'required_combi', 'pg_other', 'jupeb_reg'): 110 'registration', 'registration_fresh', 'registration_return', 111 'required_combi', 'pg_other', 'jupeb_reg'): 111 112 provider_amt = 5000.0 112 113 if self.context.p_category in ( -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r16434 r17900 53 53 54 54 def test_interswitch_form(self): 55 self.app['configuration']['2004'].registration_f ee = 7000.055 self.app['configuration']['2004'].registration_fresh_fee = 7000.0 56 56 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 57 57 self.browser.open(self.payments_path) … … 59 59 self.student.nationality = u'NG' 60 60 self.browser.open(self.payments_path + '/addop') 61 self.browser.getControl(name="form.p_category").value = ['registration ']61 self.browser.getControl(name="form.p_category").value = ['registration_fresh'] 62 62 self.browser.getControl(name="form.p_option").value = ['first'] 63 63 self.browser.getControl("Create payment").click() … … 83 83 # WAeAC charge have been substracted 84 84 self.assertTrue( 85 'item_name="Registration Fee " item_amt="200000" bank_id="8" acct_num="2021420049"' in85 'item_name="Registration Fee (Fresh)" item_amt="200000" bank_id="8" acct_num="2021420049"' in 86 86 self.browser.contents) 87 87 self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.