Changeset 9731
- Timestamp:
- 27 Nov 2012, 15:02:34 (12 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py
r9728 r9731 209 209 self.browser.contents) 210 210 self.assertMatches( 211 '...<item_detail item_id="1" item_name="Hostel Maint .Fee" item_amt="800000" bank_id="129" acct_num="0014414547" />...',211 '...<item_detail item_id="1" item_name="Hostel Maintenance Fee" item_amt="800000" bank_id="129" acct_num="0014414547" />...', 212 212 self.browser.contents) 213 213 self.assertFalse( -
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r9728 r9731 221 221 self.student.nationality = u'NG' 222 222 self.browser.open(self.payments_path + '/addop') 223 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 223 224 self.browser.getControl("Create ticket").click() 224 225 self.assertMatches('...ticket created...', … … 237 238 ticket.p_state = 'paid' 238 239 self.browser.open(self.payments_path + '/addop') 240 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 239 241 self.browser.getControl("Create ticket").click() 240 242 self.assertMatches('...This type of payment has already been made...', … … 245 247 del self.student['payments'][payment] 246 248 self.browser.open(self.payments_path + '/addop') 249 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 247 250 self.browser.getControl("Create ticket").click() 248 251 self.assertMatches('...ticket created...', … … 255 258 self.browser.contents) 256 259 self.browser.open(self.payments_path + '/addop') 257 self.browser.getControl(name="form.p_category").value = ['transfer']258 self.browser.getControl("Create ticket").click()259 self.assertMatches('...ticket created...',260 self.browser.contents)261 self.browser.open(self.payments_path + '/addop')262 260 self.browser.getControl( 263 name="form.p_category").value = [' bed_allocation']261 name="form.p_category").value = ['tempmaint_1'] 264 262 self.browser.getControl("Create ticket").click() 265 263 self.assertMatches('...ticket created...', … … 267 265 self.browser.open(self.payments_path + '/addop') 268 266 self.browser.getControl( 269 name="form.p_category").value = ['hostel_maintenance'] 267 name="form.p_category").value = ['tempmaint_2'] 268 self.browser.getControl("Create ticket").click() 269 self.assertMatches('...ticket created...', 270 self.browser.contents) 271 self.browser.open(self.payments_path + '/addop') 272 self.browser.getControl( 273 name="form.p_category").value = ['tempmaint_3'] 270 274 self.browser.getControl("Create ticket").click() 271 275 self.assertMatches('...ticket created...', -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r9727 r9731 50 50 'clearance': 'Acceptance Fee', 51 51 'bed_allocation': 'Bed Allocation Fee', 52 'hostel_maintenance': 'Hostel Maint .Fee',52 'hostel_maintenance': 'Hostel Maintenance Fee', 53 53 'tempmaint_1': 'Hall 1-4 M/F Ekehuan', 54 54 'tempmaint_2': 'Hall 5 M/F', … … 58 58 'application': 'Application Fee' 59 59 } 60 61 SELECTABLE_PAYMENT_CATEGORIES = { 62 'schoolfee': 'School Fee', 63 'clearance': 'Acceptance Fee', 64 'tempmaint_1': 'Hall 1-4 M/F Ekehuan Maintenance Fee', 65 'tempmaint_2': 'Hall 5 M/F Maintenance Fee', 66 'tempmaint_3': 'Clinical Hostel Maintenance Fee', 67 'gown': 'Gown Hire Fee', 68 'application': 'Application Fee' 69 }
Note: See TracChangeset for help on using the changeset viewer.