Skip to content

Commit e9a66ad

Browse files
author
Sunny Raj Rathod
authored
Merge pull request AuthorizeNet#19 from akankaria/master
Adding sleep to avoid travis build failure
2 parents 3850bcf + 350ef14 commit e9a66ad

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

PaymentTransactions/debit-bank-account.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def debit_bank_account():
4646

4747
if (response.messages.resultCode=="Ok"):
4848
print "Transaction ID : %s" % response.transactionResponse.transId
49-
print response.transactionResponse.messages.message[0].description
5049
else:
5150
print "response code: %s" % response.messages.resultCode
5251

test-runner.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import random
55
from authorizenet import apicontractsv1
66
import pyxb
7+
import time
78

89
class TestRunner(unittest.TestCase):
910
#pyxb.GlobalValidationConfig._setForBinding(False)
@@ -463,6 +464,8 @@ def create_subscription_from_customer_profile(self):
463464
modl = imp.load_source('modulename', 'CustomerProfiles/create-customer-shipping-address.py')
464465
shippingResponse = modl.create_customer_shipping_address(str(profileResponse.customerProfileId))
465466

467+
time.sleep(10)
468+
466469
#Create subscripiton from customer profile
467470
modl = imp.load_source('modulename', 'RecurringBilling/create-subscription-from-customer-profile.py')
468471
response = modl.create_subscription_from_customer_profile(self.getAmount(), self.getDay(), str(profileResponse.customerProfileId), str(paymentProfileResponse.customerPaymentProfileId), str(shippingResponse.customerAddressId))
@@ -593,7 +596,10 @@ def test_all_sample_codes(self):
593596

594597
if(shouldApiRun == '1'):
595598
for i in range(0, numRetries):
596-
#print("Running : " + apiName)
599+
600+
print "-------------------------------"
601+
print "Running : " + apiName
602+
print "-------------------------------"
597603
response = getattr(self, apiName)()
598604
#if(self.validate_response(response)):
599605
# succeeded.append(apiName)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy