Changeset 9733 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 27 Nov 2012, 18:56:08 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/payments.py
r9506 r9733 158 158 159 159 @property 160 def reg_or_matric_number(self):160 def matric_number(self): 161 161 "Matric number or reg number of payee" 162 162 return self.context.student.matric_number 163 164 @property 165 def reg_number(self): 166 "Reg number or reg number of payee" 167 return self.context.student.reg_number 163 168 164 169 @property -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9716 r9733 2663 2663 'FULL_NAME=Anna Tester&FACULTY=fac1&DEPARTMENT=dep1' 2664 2664 '&PAYMENT_ITEM=My Certificate&PAYMENT_CATEGORY=School Fee' 2665 '&ACADEMIC_SESSION=2004/2005&MATRIC_NUMBER=234&FEE_AMOUNT=0.0') 2665 '&ACADEMIC_SESSION=2004/2005&MATRIC_NUMBER=234®_NUMBER=123' 2666 '&FEE_AMOUNT=0.0') 2666 2667 self.browser.open('http://localhost/app/paymentrequest?NONSENSE=nonsense') 2667 2668 self.assertEqual(self.browser.contents, '-1')
Note: See TracChangeset for help on using the changeset viewer.