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

pep8

parent 88c9a562
Branches
Tags
No related merge requests found
......@@ -2,7 +2,7 @@ import functools
import json
from flask import Blueprint, request, Response
#render_template, url_for
# render_template, url_for
routes = Blueprint("python-utils-ui-routes", __name__)
......
import json
import logging
# import logging
import os
import tempfile
......@@ -35,7 +35,7 @@ v4Mask=.1.3.6.1.2.1.4.20.1.3
## IPv6
v6AddressAndMask=.1.3.6.1.2.1.55.1.8.1.2
v6InterfaceName=.1.3.6.1.2.1.55.1.5.1.2
"""
""" # noqa E501
ROUTERS_COMMUNITY_CONF = """
######################################################################################################################################
......@@ -79,7 +79,8 @@ mx1.lon2.uk.geant.net=0pBiFbD,62.40.96.15
mx1.ath2.gr.geant.net=0pBiFbD,62.40.96.39
# qfx.par.fr.geant.net=0pBiFbD,62.40.117.170
# qfx.fra.de.geant.net=0pBiFbD,62.40.117.162
"""
""" # noqa E501
def data_config_filename(tmp_dir_name):
config = {
......@@ -89,8 +90,12 @@ def data_config_filename(tmp_dir_name):
"username": "xxxxxx",
"password": "xxxxxxxx"
},
"oid_list.conf": os.path.join(tmp_dir_name, "oid_list.conf"),
"routers_community.conf": os.path.join(tmp_dir_name, "routers_community.conf"),
"oid_list.conf": os.path.join(
tmp_dir_name,
"oid_list.conf"),
"routers_community.conf": os.path.join(
tmp_dir_name,
"routers_community.conf"),
"ssh": {
"private-key": "private-key-filename",
"known-hosts": "known-hosts=filename"
......@@ -144,7 +149,7 @@ def test_version_request(client):
"module": {
"type": "string",
"pattern": r'\d+\.\d+'
}
}
},
"required": ["api", "module"],
"additionalProperties": False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment