Skip to content

Commit 482a026

Browse files
Fix payout tests (#74)
* Fix payout tests * update travis file * update travis file * upgrade pip for CI * travis file add update before install * Update .travis.yml
1 parent fb8488e commit 482a026

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Adyen/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def call_api(self, request_data, service, action, idempotency=False,
233233
username = self.username
234234
elif 'username' in kwargs:
235235
username = kwargs.pop("username")
236-
elif service == "Payout":
236+
if service == "Payout":
237237
if any(substring in action for substring in
238238
["store", "submit"]):
239239
username = self._store_payout_username(**kwargs)
@@ -254,7 +254,7 @@ def call_api(self, request_data, service, action, idempotency=False,
254254
password = self.password
255255
elif 'password' in kwargs:
256256
password = kwargs.pop("password")
257-
elif service == "Payout":
257+
if service == "Payout":
258258
if any(substring in action for substring in
259259
["store", "submit"]):
260260
password = self._store_payout_pass(**kwargs)

0 commit comments

Comments
 (0)