From 32ece352ea65ab192ff1b3e8b9f5b356f61e3296 Mon Sep 17 00:00:00 2001 From: Iulian Masar Date: Mon, 12 Feb 2024 14:44:31 +0200 Subject: [PATCH] updated tests --- tests/test_bankaccounts.py | 1 + tests/test_cards.py | 3 +++ tests/test_preauthorizations.py | 1 + 3 files changed, 5 insertions(+) diff --git a/tests/test_bankaccounts.py b/tests/test_bankaccounts.py index 9e60bce..78cd1b6 100644 --- a/tests/test_bankaccounts.py +++ b/tests/test_bankaccounts.py @@ -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) diff --git a/tests/test_cards.py b/tests/test_cards.py index d991efa..6c90847 100644 --- a/tests/test_cards.py +++ b/tests/test_cards.py @@ -1,4 +1,6 @@ # -*- coding: utf-8 -*- +import time + from tests import settings try: @@ -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) diff --git a/tests/test_preauthorizations.py b/tests/test_preauthorizations.py index d176aed..a9bbe45 100644 --- a/tests/test_preauthorizations.py +++ b/tests/test_preauthorizations.py @@ -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)