Changeset 14793 for main/kofacustom.nigeria/trunk/src
- Timestamp:
- 12 Aug 2017, 06:29:57 (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
r14791 r14793 262 262 self.hashvalue = hashlib.sha512(hashargs).hexdigest() 263 263 self.customer = self.context.__parent__ 264 self.customer.writeLogMessage(self, 'RRR retrieved: %s' % self.rrr) 264 self.customer.writeLogMessage(self, 265 'RRR retrieved: %s, ServiceTypeId: %s' 266 % (self.rrr, self.serviceTypeId)) 267 265 268 return 266 269 -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/studentsbrowser.py
r14791 r14793 278 278 self.hashvalue = hashlib.sha512(hashargs).hexdigest() 279 279 self.customer = self.context.student 280 self.customer.writeLogMessage(self, 'RRR retrieved: %s' % self.rrr) 280 self.customer.writeLogMessage(self, 281 'RRR retrieved: %s, ServiceTypeId: %s' 282 % (self.rrr, self.serviceTypeId)) 281 283 return 282 284 -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/tests.py
r14790 r14793 129 129 https = HTTPS 130 130 api_key = API_KEY 131 serviceTypeId = SERVICETYPEID 131 132 132 133 responseurl = 'http://xxxx' … … 209 210 self.assertTrue( 210 211 'zope.mgr - kofacustom.nigeria.remita.studentsbrowser.RemitaPageStudent' 211 ' - K1000000 - RRR retrieved: %s' % self.rrr in logcontent) 212 ' - K1000000 - RRR retrieved: %s, ServiceTypeId: %s' 213 % (self.rrr, self.serviceTypeId) in logcontent) 212 214 # Means of testing end here. 213 215 return … … 351 353 #orderId = '3456346346' 352 354 rrr = u'280007640804' 355 serviceTypeId = SERVICETYPEID 353 356 #amount = 1000.0 354 357 … … 388 391 self.assertTrue( 389 392 'zope.mgr - kofacustom.nigeria.remita.applicantsbrowser.RemitaPageApplicant' 390 ' - %s - RRR retrieved: %s' 391 % (self.applicant.applicant_id, self.rrr) in logcontent) 393 ' - %s - RRR retrieved: %s, ServiceTypeId: %s' 394 % (self.applicant.applicant_id, self.rrr, self.serviceTypeId) 395 in logcontent) 392 396 # Means of testing end here. 393 397 return
Note: See TracChangeset for help on using the changeset viewer.