Skip to content

Commit

Permalink
test: missing gethtest wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Aug 21, 2024
1 parent d384cf8 commit ba16dd1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/functional/geth/test_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def test_uri_when_configured(geth_provider, project, ethereum):
assert actual_mainnet_uri == expected


@geth_process_test
def test_uri_non_dev_and_not_configured(mocker, ethereum):
"""
If the URI was not configured and we are not using a dev
Expand Down Expand Up @@ -547,6 +548,7 @@ def test_make_request_not_exists(geth_provider):
geth_provider.make_request("ape_thisDoesNotExist")


@geth_process_test
def test_geth_bin_not_found():
bin_name = "__NOT_A_REAL_EXECUTABLE_HOPEFULLY__"
with pytest.raises(NodeSoftwareNotInstalledError):
Expand Down Expand Up @@ -677,6 +679,7 @@ def test_trace_approach_config(project):
assert provider.call_trace_approach is TraceApproach.GETH_STRUCT_LOG_PARSE


@geth_process_test
def test_start(mocker, convert, project, geth_provider):
amount = convert("100_000 ETH", int)
spy = mocker.spy(GethDevProcess, "from_uri")
Expand Down

0 comments on commit ba16dd1

Please sign in to comment.