Changeset 9508 for main/waeup.aaue/trunk
- Timestamp:
- 2 Nov 2012, 10:50:58 (12 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/etranzact
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r9327 r9508 45 45 46 46 def update(self, PAYEE_ID=None): 47 if PAYEE_ID == None: 48 self.output = '-1' 49 return 47 50 real_ip = self.request.get('HTTP_X_FORWARDED_FOR', None) 48 51 # We can forego the logging once eTranzact payments run smoothly … … 60 63 # RFC 2616 HTTP guidelines we may try to fetch the id from the QUERY_STRING 61 64 # value of the request. 62 63 65 #if PAYEE_ID is None: 64 66 # try: -
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py
r8754 r9508 85 85 'FEE_AMOUNT=1234.0&' 86 86 'TRANSACTION_STATUS=unpaid' % self.p_id) 87 self.browser.open('http://localhost/app/feerequest?NONSENSE=nonsense') 88 self.assertEqual(self.browser.contents, '-1') 87 89 88 90 @external_test
Note: See TracChangeset for help on using the changeset viewer.