Skip to content

Commit

Permalink
test: more fixage
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed May 8, 2024
1 parent 88ebfe5 commit dd27518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_etherscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ def test_get_contract_type_ecosystems_and_networks(
@pytest.mark.parametrize(
"file_name", ("get_proxy_contract_response", ("get_vyper_contract_response"))
)
def test_get_contract_type_additional_types(mock_backend, file_name, explorer):
def test_get_contract_type_additional_types(mock_backend, file_name, explorer, connection):
# This test parametrizes getting edge-case contract types.
# NOTE: Purposely not merged with test above to avoid adding a new dimension
# to the parametrization.
_ = connection # Needed for symbol lookup
mock_backend.set_network("ethereum", "mainnet")
response = mock_backend.setup_mock_get_contract_type_response(file_name)
actual = explorer.get_contract_type(response.expected_address).name
Expand Down

0 comments on commit dd27518

Please sign in to comment.