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

re-enabled forgotten test

parent d46115b9
No related branches found
No related tags found
No related merge requests found
...@@ -42,25 +42,25 @@ def netconf_doc(mocker, router, data_config): ...@@ -42,25 +42,25 @@ def netconf_doc(mocker, router, data_config):
return juniper.load_config(router, data_config['ssh']) return juniper.load_config(router, data_config['ssh'])
# def test_interface_list(netconf_doc): def test_interface_list(netconf_doc):
#
# schema = { schema = {
# "$schema": "http://json-schema.org/draft-07/schema#", "$schema": "http://json-schema.org/draft-07/schema#",
# "type": "array", "type": "array",
# "items": { "items": {
# "type": "object", "type": "object",
# "properties": { "properties": {
# "name": {"type": "string"}, "name": {"type": "string"},
# "description": {"type": "string"} "description": {"type": "string"}
# }, },
# "required": ["name", "description"], "required": ["name", "description"],
# "additionalProperties": False "additionalProperties": False
# } }
# } }
#
# interfaces = list(netconf.list_interfaces(netconf_doc)) interfaces = list(juniper.list_interfaces(netconf_doc))
# jsonschema.validate(interfaces, schema) jsonschema.validate(interfaces, schema)
# assert interfaces # at least shouldn't be empty assert interfaces # at least shouldn't be empty
def test_bgp_list(netconf_doc): def test_bgp_list(netconf_doc):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment