Changeset 8731
- Timestamp:
- 15 Jun 2012, 08:24:33 (13 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/etranzact
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r8726 r8731 65 65 'FACULTY=%s&' + 66 66 'DEPARTMENT=%s&PROGRAMME_TYPE=%s&' + 67 'RETURN_TYPE= N/A&FEE_AMOUNT=%s&' +67 'RETURN_TYPE=%s&FEE_AMOUNT=%s&' + 68 68 'TRANSACTION_STATUS=%s') % (full_name, matric_no, 69 69 academic_session, payment_type, faculty, department, 70 programme_type, amount, status)70 programme_type, PAYEE_ID, amount, status) 71 71 return 72 72 -
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py
r8444 r8731 58 58 ctrl = self.browser.getControl(name='val_id') 59 59 value = ctrl.options[0] 60 self.p_id = value 60 61 self.browser.getLink(value).click() 61 62 self.assertMatches('...Amount Authorized...', … … 68 69 '...Confirmation Number (PIN):...', 69 70 self.browser.contents) 71 72 def test_webservice(self): 73 self.browser.open('http://localhost/app/feerequest?PAYEE_ID=%s' % self.p_id) 74 self.assertEqual(self.browser.contents, 75 'FULL_NAME=Anna Tester&MATRIC_NO=E1000000' 76 '&ACADEMIC_SESSION=2004/2005&PAYMENT_TYPE=School Fee&FACULTY=fac1' 77 '&DEPARTMENT=dep1&PROGRAMME_TYPE=CERT1' 78 '&RETURN_TYPE=%s&FEE_AMOUNT=40000.0' 79 '&TRANSACTION_STATUS=unpaid' % self.p_id) 70 80 71 81 @external_test
Note: See TracChangeset for help on using the changeset viewer.