Skip to content

Commit f21114b

Browse files
author
brianmc
committed
Updated Tests
1 parent 91da39a commit f21114b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

authorizenet/utility.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,5 @@ def getproperty(propertyname):
5555
stringvalue = helper.getparser().get("properties", propertyname)
5656

5757
if ( "null" == stringvalue):
58-
print (" Reading %s from environment" %propertyname)
5958
stringvalue = os.getenv(temp)
60-
print (" Read propertyvalue %s from environment" %stringvalue)
6159
return stringvalue

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Versions should comply with PEP440. For a discussion on single-sourcing
1818
# the version across setup.py and the project code, see
1919
# https://packaging.python.org/en/latest/single_source_version.html
20-
version='1.0.2',
20+
version='1.0.3',
2121

2222
description='Authorize.Net Python SDK',
2323

tests/testssample.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def testGetTransactionDetails(self):
2626

2727
gettransactiondetailsrequest = apicontractsv1.getTransactionDetailsRequest()
2828
gettransactiondetailsrequest.merchantAuthentication = self.merchantAuthentication
29-
gettransactiondetailsrequest.transId ='2240608177' #update valid transaction id
29+
gettransactiondetailsrequest.transId ='2244574222' #update valid transaction id
3030
gettransactiondetailscontroller = getTransactionDetailsController(gettransactiondetailsrequest)
3131
gettransactiondetailscontroller.execute()
3232
response = gettransactiondetailscontroller.getresponse()
@@ -51,7 +51,7 @@ def testcancelSubscription(self):
5151
cancelsubscriptionrequest = apicontractsv1.ARBCancelSubscriptionRequest()
5252
cancelsubscriptionrequest.merchantAuthentication = self.merchantAuthentication
5353
cancelsubscriptionrequest.refId = 'Sample'
54-
cancelsubscriptionrequest.subscriptionId = '2921797' #input valid subscriptionId
54+
cancelsubscriptionrequest.subscriptionId = '2261331' #input valid subscriptionId
5555
cancelsubscriptioncontroller = ARBCancelSubscriptionController (cancelsubscriptionrequest)
5656
cancelsubscriptioncontroller.execute()
5757
response = cancelsubscriptioncontroller.getresponse()

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