Changeset 14796
- Timestamp:
- 14 Aug 2017, 06:12:04 (7 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/applicantsbrowser.py
r14793 r14796 226 226 ) 227 227 228 action = 'http://www.remitademo.net/remita/ecomm/finalize.reg' 228 @property 229 def action(self): 230 if HTTPS: 231 return 'https://' + HOST + '/remita/ecomm/finalize.reg' 232 return 'http://' + HOST + '/remita/ecomm/finalize.reg' 229 233 230 234 def init_update(self): -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/studentsbrowser.py
r14793 r14796 234 234 ) 235 235 236 action = 'http://www.remitademo.net/remita/ecomm/finalize.reg' 236 @property 237 def action(self): 238 if HTTPS: 239 return 'https://' + HOST + '/remita/ecomm/finalize.reg' 240 return 'http://' + HOST + '/remita/ecomm/finalize.reg' 237 241 238 242 def init_update(self): -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/tests.py
r14793 r14796 202 202 self.assertTrue('<input name="rrr" type="hidden" value="%s">' % self.rrr 203 203 in self.browser.contents) 204 self.assertTrue( 205 'action="http://www.remitademo.net/remita/ecomm/finalize.reg"' 206 in self.browser.contents) 204 207 self.assertEqual(self.payment.r_pay_reference, self.rrr) 205 208 self.assertEqual(self.payment.r_company, 'remita') … … 212 215 ' - K1000000 - RRR retrieved: %s, ServiceTypeId: %s' 213 216 % (self.rrr, self.serviceTypeId) in logcontent) 217 214 218 # Means of testing end here. 215 219 return
Note: See TracChangeset for help on using the changeset viewer.