- Timestamp:
- 14 Aug 2017, 15:13:43 (7 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/tests.py
r14796 r14801 295 295 logcontent = open(logfile).read() 296 296 self.assertTrue( 297 'zope.anybody - PaymentNotificationListenerWebservice re sponse: '297 'zope.anybody - PaymentNotificationListenerWebservice request: ' 298 298 '[{"rrr": "%s", "orderRef": "%s"}]' 299 299 % (self.rrr, self.orderId) in logcontent) -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/webservices.py
r14790 r14801 74 74 self.output = '-1' 75 75 return 76 re sp= self.request.bodyStream.read()76 requ = self.request.bodyStream.read() 77 77 self.context.logger.info( 78 'PaymentNotificationListenerWebservice re sponse: %s' % resp)78 'PaymentNotificationListenerWebservice request: %s' % requ) 79 79 try: 80 parsed_json = json.loads(re sp)80 parsed_json = json.loads(requ) 81 81 except ValueError: 82 82 self.output = '-2'
Note: See TracChangeset for help on using the changeset viewer.