Ignore:
Timestamp:
14 Aug 2017, 15:13:43 (7 years ago)
Author:
Henrik Bettermann
Message:

It's not a response but a request.

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  
    295295        logcontent = open(logfile).read()
    296296        self.assertTrue(
    297             'zope.anybody - PaymentNotificationListenerWebservice response: '
     297            'zope.anybody - PaymentNotificationListenerWebservice request: '
    298298            '[{"rrr": "%s", "orderRef": "%s"}]'
    299299            % (self.rrr, self.orderId) in logcontent)
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/webservices.py

    r14790 r14801  
    7474                self.output = '-1'
    7575                return
    76         resp = self.request.bodyStream.read()
     76        requ = self.request.bodyStream.read()
    7777        self.context.logger.info(
    78             'PaymentNotificationListenerWebservice response: %s' % resp)
     78            'PaymentNotificationListenerWebservice request: %s' % requ)
    7979        try:
    80             parsed_json = json.loads(resp)
     80            parsed_json = json.loads(requ)
    8181        except ValueError:
    8282            self.output = '-2'
Note: See TracChangeset for help on using the changeset viewer.