Skip to content

Commit

Permalink
fix: update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Divya-Solulab committed Oct 28, 2024
1 parent 193e789 commit c6e5749
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/aea-ledger-ethereum/tests/test_ethereum.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def test_ethereum_api_get_transfer_transaction_2(*args):
"max_fee_per_gas": 10,
}
with patch.object(ethereum_api.api.eth, "estimate_gas", return_value=1):
assert len(ethereum_api.get_transfer_transaction(**args)) == 8
assert len(ethereum_api.get_transfer_transaction(**args)) == 9


@patch.object(EthereumApi, "_try_get_transaction_count", return_value=1)
Expand All @@ -441,7 +441,7 @@ def test_ethereum_api_get_transfer_transaction_3(*args):
"max_fee_per_gas": 10,
}
with patch.object(ethereum_api.api.eth, "_max_priority_fee", return_value=1):
assert len(ethereum_api.get_transfer_transaction(**args)) == 8
assert len(ethereum_api.get_transfer_transaction(**args)) == 9


def test_ethereum_api_get_deploy_transaction(ethereum_testnet_config):
Expand Down

0 comments on commit c6e5749

Please sign in to comment.