Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
iulian03 committed Feb 12, 2024
1 parent 4162ee5 commit 32ece35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_bankaccounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ def test_deactivateBankAccount(self):
def test_BankAccount_getTransactions(self):
account = BaseTestLive.get_johns_account()

time.sleep(2)
transactions_page = account.get_transactions()

self.assertIsNotNone(transactions_page.data)
Expand Down
3 changes: 3 additions & 0 deletions tests/test_cards.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
import time

from tests import settings

try:
Expand Down Expand Up @@ -273,6 +275,7 @@ def test_getCardPreAuthorizations(self):
def test_getCardTransactions(self):
card = BaseTestLive.get_johns_card()

time.sleep(2)
transactions_page = card.get_transactions()

self.assertIsNotNone(transactions_page.data)
Expand Down
1 change: 1 addition & 0 deletions tests/test_preauthorizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,7 @@ def test_PreAuthorizations_CreateDirect(self):
payin.culture = 'fr'
BaseTestLive._johns_payin = PreAuthorizedPayIn(**payin.save())

time.sleep(2)
transactions = pre_authorization.get_transactions()

self.assertIsNotNone(saved_pre_authorization)
Expand Down

0 comments on commit 32ece35

Please sign in to comment.