Skip to content

Commit

Permalink
test: Copy test_basic from cronos
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Jul 29, 2024
1 parent 5c9e18b commit d5a40c8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/integration_tests/test_fee_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
from web3 import Web3

from .network import setup_ethermint
from .utils import ADDRS, send_transaction
from .utils import (

Check failure on line 7 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:7:1: I001 isort found an import in the wrong position
ADDRS,

Check failure on line 8 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:8:1: I001 isort found an import in the wrong position

Check failure on line 8 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:8:11: W291 trailing whitespace
send_transaction,

Check failure on line 9 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:9:1: I001 isort found an import in the wrong position
w3_wait_for_block,

Check failure on line 10 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:10:1: I001 isort found an import in the wrong position
)

Check failure on line 11 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:11:1: I001 isort found an import in the wrong position

Check failure on line 12 in tests/integration_tests/test_fee_history.py

View workflow job for this annotation

GitHub Actions / Run flake8 on python integration tests

./tests/integration_tests/test_fee_history.py:12:1: I005 isort found an unexpected missing import

@pytest.fixture(scope="module")
Expand All @@ -29,6 +33,8 @@ def cluster(request, custom_ethermint, geth):

def test_basic(cluster):
w3: Web3 = cluster.w3
# need at least 5 blocks
w3_wait_for_block(w3, 5)
call = w3.provider.make_request
tx = {"to": ADDRS["community"], "value": 10, "gasPrice": w3.eth.gas_price}
send_transaction(w3, tx)
Expand Down

0 comments on commit d5a40c8

Please sign in to comment.