11'''
2- Created on Jul 13 , 2015
2+ Created on Nov 16 , 2015
33
44@author: krgupta
55'''
1919from tests import apitestbase
2020from authorizenet .apicontrollers import *
2121import test
22+ from authorizenet import utility
23+
24+ class test_ReadProperty (apitestbase .ApiTestBase ):
25+ def testPropertyFromFile (self ):
26+ login = utility .helper .getproperty ("api_login_id" )
27+ transactionkey = utility .helper .getproperty ("transaction_key" )
28+ self .assertIsNotNone (login )
29+ self .assertIsNotNone (transactionkey )
2230
2331class test_TransactionReportingUnitTest (apitestbase .ApiTestBase ):
24-
32+ '''
2533 def testGetTransactionDetails(self):
2634
2735 gettransactiondetailsrequest = apicontractsv1.getTransactionDetailsRequest()
@@ -31,7 +39,7 @@ def testGetTransactionDetails(self):
3139 gettransactiondetailscontroller.execute()
3240 response = gettransactiondetailscontroller.getresponse()
3341 self.assertEquals('Ok', response.messages.resultCode)
34-
42+ '''
3543class test_RecurringBillingTest (apitestbase .ApiTestBase ):
3644
3745 def testCreateSubscription (self ):
@@ -45,7 +53,7 @@ def testCreateSubscription(self):
4553 response = arbcreatesubscriptioncontroller .getresponse ()
4654 self .assertIsNotNone (response .subscriptionId )
4755 self .assertEquals ('Ok' , response .messages .resultCode )
48-
56+ '''
4957 def testcancelSubscription(self):
5058
5159 cancelsubscriptionrequest = apicontractsv1.ARBCancelSubscriptionRequest()
@@ -56,7 +64,7 @@ def testcancelSubscription(self):
5664 cancelsubscriptioncontroller.execute()
5765 response = cancelsubscriptioncontroller.getresponse()
5866 self.assertEquals('Ok', response.messages.resultCode)
59-
67+ '''
6068class paymentTransactionUnitTest (apitestbase .ApiTestBase ):
6169
6270 def testauthCaputureTransaction (self ):
0 commit comments