Skip to content
Snippets Groups Projects
Commit 2d3da3fd authored by Erik Reid's avatar Erik Reid
Browse files

mock new method name

parent 5d845478
No related branches found
No related tags found
No related merge requests found
...@@ -204,10 +204,10 @@ def mocked_worker_module( ...@@ -204,10 +204,10 @@ def mocked_worker_module(
worker.InventoryTask.config = data_config worker.InventoryTask.config = data_config
def _mocked_snmp_interfaces(hostname, community, _): def _mocked_snmp_interfaces(hostname, community):
return json.loads(cached_test_data['snmp-interfaces:' + hostname]) return json.loads(cached_test_data['snmp-interfaces:' + hostname])
mocker.patch( mocker.patch(
'inventory_provider.snmp.get_router_interfaces', 'inventory_provider.snmp.get_router_snmp_indexes',
_mocked_snmp_interfaces) _mocked_snmp_interfaces)
def _mocked_load_juniper_netconf_config(hostname, _): def _mocked_load_juniper_netconf_config(hostname, _):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment