diff --git a/tests/test_etherscan.py b/tests/test_etherscan.py index e714a8c..cc0fc56 100644 --- a/tests/test_etherscan.py +++ b/tests/test_etherscan.py @@ -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