@@ -15,7 +15,7 @@ class TestCheckout(unittest.TestCase):
1515 def test_payment_methods_success_mocked (self ):
1616 request = {'merchantAccount' : "YourMerchantAccount" }
1717 self .adyen .client = self .test .create_client_from_file (200 , request ,
18- "mocks/"
18+ "test/ mocks/"
1919 "checkout/"
2020 "paymentmethods"
2121 "-success.json" )
@@ -29,7 +29,7 @@ def test_payment_methods_success_mocked(self):
2929 def test_payment_methods_error_mocked (self ):
3030 request = {'merchantAccount' : "YourMerchantAccount" }
3131 self .adyen .client = self .test .create_client_from_file (200 , request ,
32- "mocks/"
32+ "test/ mocks/"
3333 "checkout/"
3434 "paymentmethods-"
3535 "error-forbidden"
@@ -53,7 +53,7 @@ def test_payments_success_mocked(self):
5353 'returnUrl' : "https://your-company.com/..." }
5454
5555 self .adyen .client = self .test .create_client_from_file (200 , request ,
56- "mocks/"
56+ "test/ mocks/"
5757 "checkout/"
5858 "payments"
5959 "-success"
@@ -79,7 +79,7 @@ def test_payments_error_mocked(self):
7979 'returnUrl' : "https://your-company.com/..." }
8080
8181 self .adyen .client = self .test .create_client_from_file (200 , request ,
82- "mocks/"
82+ "test/ mocks/"
8383 "checkout/"
8484 "payments-error"
8585 "-invalid"
@@ -97,7 +97,7 @@ def test_payments_details_success_mocked(self):
9797 "PaRes" : "sdkfhskdjfsdf..."
9898 }}
9999 self .adyen .client = self .test .create_client_from_file (200 , request ,
100- "mocks/"
100+ "test/ mocks/"
101101 "checkout/"
102102 "paymentsdetails"
103103 "-success.json" )
@@ -115,7 +115,7 @@ def test_payments_details_error_mocked(self):
115115 "PaRes" : "sdkfhskdjfsdf..."
116116 }}
117117 self .adyen .client = self .test .create_client_from_file (200 , request ,
118- "mocks/"
118+ "test/ mocks/"
119119 "checkout/"
120120 "paymentsdetails"
121121 "-error-invalid-"
@@ -138,7 +138,7 @@ def test_payments_session_success_mocked(self):
138138 'amount' : {"value" : "17408" , "currency" : "EUR" }}
139139
140140 self .adyen .client = self .test .create_client_from_file (200 , request ,
141- "mocks/"
141+ "test/ mocks/"
142142 "checkout/"
143143 "paymentsession"
144144 "-success.json" )
@@ -157,7 +157,7 @@ def test_payments_session_error_mocked(self):
157157 'amount' : {"value" : "17408" , "currency" : "EUR" }}
158158
159159 self .adyen .client = self .test .create_client_from_file (200 , request ,
160- "mocks/"
160+ "test/ mocks/"
161161 "checkout/"
162162 "paymentsession"
163163 "-error-invalid-"
@@ -172,7 +172,7 @@ def test_payments_session_error_mocked(self):
172172 def test_payments_result_success_mocked (self ):
173173 request = {"payload" : "VALUE_YOU_GET_FROM_CHECKOUT_SDK" }
174174 self .adyen .client = self .test .create_client_from_file (200 , request ,
175- "mocks/"
175+ "test/ mocks/"
176176 "checkout/"
177177 "paymentsresult"
178178 "-success.json" )
@@ -183,7 +183,7 @@ def test_payments_result_success_mocked(self):
183183 def test_payments_result_error_mocked (self ):
184184 request = {"payload" : "VALUE_YOU_GET_FROM_CHECKOUT_SDK" }
185185 self .adyen .client = self .test .create_client_from_file (200 , request ,
186- "mocks/"
186+ "test/ mocks/"
187187 "checkout/"
188188 "paymentsresult"
189189 "-error-invalid-"
0 commit comments