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

pep8

parent fe9fb33c
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?> ...@@ -15,7 +15,7 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
<xs:anyAttribute processContents="skip" /> <xs:anyAttribute processContents="skip" />
</xs:complexType> </xs:complexType>
<!-- NOTE: 'unit' content isn't validated --> <!-- NOTE: 'unit' content isn't validated -->
<xs:complexType name="juniper-interface"> <xs:complexType name="juniper-interface">
<xs:sequence> <xs:sequence>
<xs:choice minOccurs="1" maxOccurs="unbounded"> <xs:choice minOccurs="1" maxOccurs="unbounded">
...@@ -65,7 +65,7 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?> ...@@ -65,7 +65,7 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
</xs:element> </xs:element>
</xs:schema> </xs:schema>
""" """ # noqa: E501
UNIT_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?> UNIT_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
...@@ -89,7 +89,7 @@ UNIT_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?> ...@@ -89,7 +89,7 @@ UNIT_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
</xs:element> </xs:element>
</xs:schema> </xs:schema>
""" """ # noqa: E501
def _rpc(hostname, ssh): def _rpc(hostname, ssh):
......
import io
import json import json
import os import os
import shutil import shutil
......
...@@ -90,4 +90,3 @@ def test_bgp_list(netconf_doc): ...@@ -90,4 +90,3 @@ def test_bgp_list(netconf_doc):
routes = list(juniper.list_bgp_routes(netconf_doc)) routes = list(juniper.list_bgp_routes(netconf_doc))
jsonschema.validate(routes, schema) jsonschema.validate(routes, schema)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment