Skip to content

Commit 13278a7

Browse files
committed
add test prefix needed for travis ci tests to succeed
1 parent 129d90e commit 13278a7

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

test/ModificationTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_cancel_received(self):
7575
request['reference'] = "YourReference"
7676
request['originalReference'] = "YourOriginalReference"
7777
self.ady.client = self.test.create_client_from_file(200, request,
78-
'mocks/'
78+
'test/mocks/'
7979
'cancel-received'
8080
'.json')
8181
result = self.ady.payment.cancel(request)

test/PaymentTest.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_authorise_cse_error_expired_mocked(self):
165165
}
166166

167167
self.adyen.client = self.test.create_client_from_file(200, request,
168-
'mocks/'
168+
'test/mocks/'
169169
'authorise'
170170
'-error-'
171171
'expired.json')
@@ -187,7 +187,7 @@ def test_error_401_mocked(self):
187187
"holderName": "John Doe"
188188
}
189189
self.adyen.client = self.test.create_client_from_file(401, request,
190-
'mocks/'
190+
'test/mocks/'
191191
'authorise'
192192
'-error-'
193193
'010.json')
@@ -224,7 +224,7 @@ def test_authorise_success_mocked(self):
224224
"holderName": "John Doe"
225225
}
226226
self.adyen.client = self.test.create_client_from_file(200, request,
227-
'mocks/'
227+
'test/mocks/'
228228
'authorise'
229229
'-success'
230230
'.json')
@@ -264,7 +264,7 @@ def test_authorise_error010_mocked(self):
264264
"holderName": "John Doe"
265265
}
266266
self.adyen.client = self.test.create_client_from_file(403, request,
267-
'mocks/'
267+
'test/mocks/'
268268
'authorise-error'
269269
'-010'
270270
'.json')
@@ -283,7 +283,7 @@ def test_authorise_error_cvc_declined_mocked(self):
283283
"holderName": "John Doe"
284284
}
285285
self.adyen.client = self.test.create_client_from_file(200, request,
286-
'mocks/'
286+
'test/mocks/'
287287
'authorise'
288288
'-error-'
289289
'cvc-declined'
@@ -308,7 +308,7 @@ def test_authorise_success_3d_mocked(self):
308308
"acceptHeader": "YourAcceptHeader"
309309
}
310310
self.adyen.client = self.test.create_client_from_file(200, request,
311-
'mocks/'
311+
'test/mocks/'
312312
'authorise'
313313
'-success'
314314
'-3d.json')
@@ -328,7 +328,7 @@ def test_authorise_3d_success_mocked(self):
328328
"acceptHeader": "YourAcceptHeader"
329329
}
330330
self.adyen.client = self.test.create_client_from_file(200, request,
331-
'mocks/'
331+
'test/mocks/'
332332
'authorise3d-'
333333
'success.json')
334334
result = self.adyen.payment.authorise3d(request)
@@ -344,7 +344,7 @@ def test_authorise_cse_success_mocked(self):
344344
"card.encrypted.json": "YourCSEToken"
345345
}
346346
self.adyen.client = self.test.create_client_from_file(200, request,
347-
'mocks/'
347+
'test/mocks/'
348348
'authorise'
349349
'-success'
350350
'-cse.json')
@@ -361,7 +361,7 @@ def test_authorise_cse_error_expired_mocked(self):
361361
}
362362

363363
self.adyen.client = self.test.create_client_from_file(200, request,
364-
'mocks/'
364+
'test/mocks/'
365365
'authorise'
366366
'-error-'
367367
'expired.json')
@@ -383,7 +383,7 @@ def test_error_401_mocked(self):
383383
"holderName": "John Doe"
384384
}
385385
self.adyen.client = self.test.create_client_from_file(401, request,
386-
'mocks/'
386+
'test/mocks/'
387387
'authorise'
388388
'-error-'
389389
'010.json')

0 commit comments

Comments
 (0)