- Timestamp:
- 7 Nov 2012, 17:22:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py
r9520 r9570 108 108 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 109 109 self.browser.getControl("Create ticket").click() 110 # Next session payment can't be made ... 111 self.assertMatches( 112 '...You have not yet paid your current/active session...', 113 self.browser.contents) 114 # current session payment must be approved first. 115 self.student['payments'][current_payment_key].approve() 116 self.browser.open(self.payments_path + '/addop') 117 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 118 self.browser.getControl("Create ticket").click() 110 111 ## Next session payment can't be made ... 112 #self.assertMatches( 113 # '...You have not yet paid your current/active session...', 114 # self.browser.contents) 115 ## current session payment must be approved first. 116 #self.student['payments'][current_payment_key].approve() 117 #self.browser.open(self.payments_path + '/addop') 118 #self.browser.getControl(name="form.p_category").value = ['schoolfee'] 119 #self.browser.getControl("Create ticket").click() 120 119 121 ctrl = self.browser.getControl(name='val_id') 120 122 value = ctrl.options[1]
Note: See TracChangeset for help on using the changeset viewer.