- Timestamp:
- 1 Aug 2017, 12:17:28 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/tests.py
r14737 r14740 52 52 serviceTypeId = '4430731' 53 53 api_key = '1946' 54 orderId = ' 3456346346'54 orderId = '987698769876' 55 55 amount = '1000' 56 56 responseurl = 'http://xxxx' … … 79 79 assert resp == { 80 80 u'status': u'RRR Already Exist for the orderId', 81 u'orderID': u' 3456346346',82 u'RRR': u' 280007640804', # strange trailing whitespace which81 u'orderID': u'987698769876', 82 u'RRR': u'320007640976 ', # strange trailing whitespace which 83 83 # obviously does not belong to the RRR 84 84 u'statuscode': u'055'} … … 91 91 merchantId=self.merchantId, 92 92 api_key=self.api_key, 93 RRR=' 280007640804',93 RRR='320007640976', 94 94 host=self.host, 95 95 https=False, 96 96 ) 97 98 97 assert resp == { 99 u'orderId': u' 3456346346',98 u'orderId': u'987698769876', 100 99 u'status': u'021', 101 100 u'amount': 1000.0, 102 u'transactiontime': u'2017-0 7-31 11:17:24 AM',101 u'transactiontime': u'2017-08-01 12:10:32 PM', 103 102 u'message': u'Transaction Pending', 104 103 u'lineitems': [{u'status': u'021', u'lineItemsId': u'itemid1'}, 105 104 {u'status': u'021', u'lineItemsId': u'itemid2'} 106 105 ], 107 u'RRR': u' 280007640804'}106 u'RRR': u'320007640976'} 108 107 109 108 … … 151 150 merchantId=self.merchantId, 152 151 api_key=self.api_key, 153 RRR=' 280007640804',152 RRR='320007640976', 154 153 host=self.host, 155 154 https=False,
Note: See TracChangeset for help on using the changeset viewer.