diff --git a/tests/functional/geth/test_network_manager.py b/tests/functional/geth/test_network_manager.py index 18d5274f6e..8c2d5986aa 100644 --- a/tests/functional/geth/test_network_manager.py +++ b/tests/functional/geth/test_network_manager.py @@ -37,3 +37,17 @@ def test_fork_upstream_provider(networks, mock_geth_sepolia, geth_provider, mock geth_provider.provider_settings["uri"] = orig else: del geth_provider.provider_settings["uri"] + + +@geth_process_test +@pytest.mark.parametrize( + "connection_str", ("moonbeam:moonriver", "https://moonriver.api.onfinality.io/public") +) +def test_parse_network_choice_evmchains(networks, connection_str): + """ + Show we can (without having a plugin installed) connect to a network + that evm-chains knows about. + """ + with networks.parse_network_choice(connection_str) as moon_provider: + assert moon_provider.network.name == "moonriver" + assert moon_provider.network.ecosystem.name == "moonbeam" diff --git a/tests/functional/test_network_manager.py b/tests/functional/test_network_manager.py index a347320c1a..73b1acd86f 100644 --- a/tests/functional/test_network_manager.py +++ b/tests/functional/test_network_manager.py @@ -239,19 +239,6 @@ def test_parse_network_choice_multiple_contexts( assert eth_tester_provider.make_request("eth_chainId") == DEFAULT_TEST_CHAIN_ID -@pytest.mark.parametrize( - "connection_str", ("moonbeam:moonriver", "https://moonriver.api.onfinality.io/public") -) -def test_parse_network_choice_evmchains(networks, connection_str): - """ - Show we can (without having a plugin installed) connect to a network - that evm-chains knows about. - """ - with networks.parse_network_choice(connection_str) as moon_provider: - assert moon_provider.network.name == "moonriver" - assert moon_provider.network.ecosystem.name == "moonbeam" - - def test_getattr_ecosystem_with_hyphenated_name(networks, ethereum): networks.ecosystems["hyphen-in-name"] = networks.ecosystems["ethereum"] assert networks.hyphen_in_name # Make sure does not raise AttributeError