diff --git a/inventory_provider/pyez_test.py b/inventory_provider/netconf.py similarity index 100% rename from inventory_provider/pyez_test.py rename to inventory_provider/netconf.py diff --git a/test/test_pyez_parsing.py b/test/test_netconf_parsing.py similarity index 87% rename from test/test_pyez_parsing.py rename to test/test_netconf_parsing.py index 296e9cccce00e871735757a4d9181322e2c110ed..88d3613f05b6fa9775978096d066ec272f3146f3 100644 --- a/test/test_pyez_parsing.py +++ b/test/test_netconf_parsing.py @@ -1,5 +1,5 @@ import os -from inventory_provider import pyez_test +from inventory_provider import netconf from lxml import etree TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), 'data') @@ -32,5 +32,5 @@ def test_nr1(mocker, data_config): import json for r in data_config['routers']: print(r['hostname']) - x = pyez_test.load_interfaces(r['hostname'], data_config['ssh']) + x = netconf.load_interfaces(r['hostname'], data_config['ssh']) print(json.dumps(list(x), indent=4))