Skip to content

Commit

Permalink
test: ensure no explorers
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Aug 2, 2024
1 parent afa90fe commit 1e571e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/functional/test_contract_call_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ def test_struct_input(
assert actual == output_from_struct_input_call


def test_call_contract_not_found(mocker, method_abi_with_struct_input):
def test_call_contract_not_found(mocker, method_abi_with_struct_input, networks):
(networks.ethereum.local.__dict__ or {}).pop("explorer", None)
contract = mocker.MagicMock()
contract.is_contract = False
method = method_abi_with_struct_input
Expand All @@ -21,7 +22,8 @@ def test_call_contract_not_found(mocker, method_abi_with_struct_input):
handler()


def test_transact_contract_not_found(mocker, owner, method_abi_with_struct_input):
def test_transact_contract_not_found(mocker, owner, method_abi_with_struct_input, networks):
(networks.ethereum.local.__dict__ or {}).pop("explorer", None)
contract = mocker.MagicMock()
contract.is_contract = False
method = method_abi_with_struct_input
Expand Down

0 comments on commit 1e571e5

Please sign in to comment.