Changeset 12504 for main/waeup.aaue/trunk/src
- Timestamp:
- 21 Jan 2015, 12:44:54 (10 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r11868 r12504 85 85 return 86 86 if PAYMENT_TYPE not in ('SCHOOL-FEE-RETURNING', 'SCHOOL-FEE-NEW', 87 'ACCEPTANCE-FEE', 'APPLICATION-FEE' ):87 'ACCEPTANCE-FEE', 'APPLICATION-FEE', 'LATE-ADMISSION-PROCESSING'): 88 88 self.output = ERROR_PART1 + 'Invalid PAYMENT_TYPE' + ERROR_PART2 89 89 return … … 136 136 if PAYMENT_TYPE == 'APPLICATION-FEE' \ 137 137 and not results[0].p_category == 'application': 138 self.output = ERROR_PART1 + 'Wrong PAYMENT_TYPE' + ERROR_PART2 139 return 140 if PAYMENT_TYPE == 'LATE-ADMISSION-PROCESSING' \ 141 and not results[0].p_category == 'late_registration': 138 142 self.output = ERROR_PART1 + 'Wrong PAYMENT_TYPE' + ERROR_PART2 139 143 return -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r11631 r12504 178 178 self.browser.getControl("Create ticket").click() 179 179 self.assertMatches('...This type of payment has already been made...', 180 self.browser.contents) 181 self.browser.open(self.payments_path + '/addop') 182 self.browser.getControl(name="form.p_category").value = ['late_registration'] 183 self.browser.getControl("Create ticket").click() 184 self.assertMatches('...ticket created...', 180 185 self.browser.contents) 181 186 -
main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
r11621 r12504 52 52 #'transfer': 'Transfer Fee', 53 53 'transcript': 'Transcript Fee', 54 #'late_registration': 'Late Registration Fee',54 'late_registration': 'Late Registration Fee', 55 55 } 56 56
Note: See TracChangeset for help on using the changeset viewer.