Skip to content

Commit add1bde

Browse files
committed
chore: allow the test to accept more than one log in case we are using core algod client even though at this point tests are only using the non-experimental version of this package
1 parent 1f57a16 commit add1bde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/transactions/test_transaction_sender.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import pytest
66
from algosdk.transaction import OnComplete
77

8-
from algokit_utils import SigningAccount
8+
from algokit_utils import _EXPERIMENTAL_DEPENDENCIES_INSTALLED, SigningAccount
99
from algokit_utils._legacy_v2.application_specification import ApplicationSpecification
1010
from algokit_utils.algorand import AlgorandClient
1111
from algokit_utils.applications.app_manager import AppManager
@@ -451,8 +451,8 @@ def test_payment_logging(
451451
)
452452
)
453453

454-
assert mock_debug.call_count == 1
455-
log_message = mock_debug.call_args[0][0]
454+
assert mock_debug.call_count == 1 if not _EXPERIMENTAL_DEPENDENCIES_INSTALLED else 2
455+
log_message = mock_debug.call_args_list[0][0][0]
456456
assert "Sending 1,000,000 µALGO" in log_message
457457
assert sender.address in log_message
458458
assert receiver.address in log_message

0 commit comments

Comments
 (0)