Changeset 10907 for main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py
- Timestamp:
- 14 Jan 2014, 06:54:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py
r9905 r10907 76 76 self.browser.open('http://localhost/app/feerequest?PAYEE_ID=%s' % self.p_id) 77 77 self.assertEqual(self.browser.contents, 78 'FULL_NAME=Anna Tester&' 79 'FACULTY=fac1&' 80 'DEPARTMENT=dep1&' 81 'RETURN_TYPE=%s&' 82 'PROGRAMME_TYPE=CERT1&' 83 'PAYMENT_TYPE=School Fee&' 84 'ACADEMIC_SESSION=2004/2005&' 85 'MATRIC_NO=E1000000&' 86 'FEE_AMOUNT=1234.0&' 87 'TRANSACTION_STATUS=unpaid' % self.p_id) 78 # Version 1 79 #'FULL_NAME=Anna Tester&' 80 #'FACULTY=fac1&' 81 #'DEPARTMENT=dep1&' 82 #'RETURN_TYPE=%s&' 83 #'PROGRAMME_TYPE=CERT1&' 84 #'PAYMENT_TYPE=School Fee&' 85 #'ACADEMIC_SESSION=2004/2005&' 86 #'MATRIC_NO=E1000000&' 87 #'FEE_AMOUNT=1234.0&' 88 #'TRANSACTION_STATUS=unpaid' 89 90 # Version 2 91 'PayeeName=Anna Tester~' 92 'Faculty=fac1~' 93 'Department=dep1~' 94 'Level=100~' 95 'ProgrammeType=CERT1~' 96 'StudyType=ug_ft~' 97 'Session=2004/2005~' 98 'PayeeID=%s~' 99 'Amount=1234.0~' 100 'FeeStatus=unpaid~' 101 #Semester=SECOND~ 102 'PaymentType=School Fee~' 103 'MatricNumber=E1000000~' 104 'Email=aa@aa.ng~' 105 'PhoneNumber=1234' % self.p_id) 106 88 107 self.browser.open('http://localhost/app/feerequest?NONSENSE=nonsense') 89 108 self.assertEqual(self.browser.contents, '-1')
Note: See TracChangeset for help on using the changeset viewer.