Skip to content

Commit

Permalink
avoid password or unlock err in geth
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Dec 21, 2023
1 parent 05af4ea commit 049d1b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion integration_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ def test_basic(cluster):
assert w3.eth.chain_id == 777


def test_send_transaction(cluster):
def test_send_transaction(cluster, geth):
"test eth_sendTransaction api"
w3 = cluster.w3
# wait 1s to avoid unlock error

Check failure on line 45 in integration_tests/test_basic.py

View workflow job for this annotation

GitHub Actions / Lint python

./integration_tests/test_basic.py:45:36: BLK100 Black would make changes.

Check failure on line 45 in integration_tests/test_basic.py

View workflow job for this annotation

GitHub Actions / Lint python

./integration_tests/test_basic.py:45:36: W291 trailing whitespace
if cluster == geth:
time.sleep(1)
txhash = w3.eth.send_transaction(
{
"from": ADDRS["validator"],
Expand Down

0 comments on commit 049d1b3

Please sign in to comment.