diff --git a/setup.py b/setup.py index 0ad9527..0ca7196 100644 --- a/setup.py +++ b/setup.py @@ -76,7 +76,7 @@ url="https://github.com/ApeWorX/ape-alchemy", include_package_data=True, install_requires=[ - "eth-ape", # >=0.7.0,<0.8", + "eth-ape>=0.7.0,<0.8", "eth-pydantic-types", # Get eth-pydantic-types version from ape "ethpm-types", # Get ethpm-types version from ape "evm-trace", # Get evm-trace version from ape diff --git a/tests/conftest.py b/tests/conftest.py index 87b79fe..4b2a24c 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,13 +30,14 @@ def networks(): @pytest.fixture -def missing_token(mocker): +def missing_token(alchemy_provider, mocker): env = os.environ.copy() mock = mocker.patch("os.environ.get") def side_effect(key, *args, **kwargs): return None if "WEB3" in key else env.get(key, *args, **kwargs) + alchemy_provider.network_uris = {} mock.side_effect = side_effect return mock