@@ -168,7 +168,7 @@ def test_get_collector_registry_for_xrpl(self):
168168 helper_test_collector_registry (self , collector )
169169
170170 @mock .patch .dict (os .environ , {
171- "CONFIG_FILE_PATH" : "tests/fixtures/configuration_evmhttp .yaml" ,
171+ "CONFIG_FILE_PATH" : "tests/fixtures/configuration_evm .yaml" ,
172172 "VALIDATION_FILE_PATH" : "tests/fixtures/validation.yaml"
173173 })
174174 def test_get_collector_registry_for_evm (self ):
@@ -177,6 +177,16 @@ def test_get_collector_registry_for_evm(self):
177177 with mock .patch ('collectors.EvmCollector' , new = mock .Mock ()) as collector :
178178 helper_test_collector_registry (self , collector )
179179
180+ @mock .patch .dict (os .environ , {
181+ "CONFIG_FILE_PATH" : "tests/fixtures/configuration_evmhttp.yaml" ,
182+ "VALIDATION_FILE_PATH" : "tests/fixtures/validation.yaml"
183+ })
184+ def test_get_collector_registry_for_evm (self ):
185+ """Tests that the evm collector is called with the correct args"""
186+ self .collector_registry = CollectorRegistry ()
187+ with mock .patch ('collectors.EvmHttpCollector' , new = mock .Mock ()) as collector :
188+ helper_test_collector_registry (self , collector )
189+
180190 @mock .patch .dict (os .environ , {
181191 "CONFIG_FILE_PATH" : "tests/fixtures/configuration_unsupported_blockchain.yaml" ,
182192 "VALIDATION_FILE_PATH" : "tests/fixtures/validation.yaml"
0 commit comments