From e4fc52a0353b7665e1d6864b71b65849e35e919e Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Mon, 4 Mar 2019 11:08:41 +0100 Subject: [PATCH] pep8 --- inventory_provider/routes/classifier.py | 3 ++- test/test_classifier_routes.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py index 8f88fcf5..4d156f7f 100644 --- a/inventory_provider/routes/classifier.py +++ b/inventory_provider/routes/classifier.py @@ -1,7 +1,7 @@ import ipaddress import json -from flask import Blueprint, Response, jsonify +from flask import Blueprint, Response from inventory_provider.routes import common @@ -116,6 +116,7 @@ def ix_peering_info(peer_info): return result + def find_interfaces(address): """ TODO: this is probably the least efficient way of doing this diff --git a/test/test_classifier_routes.py b/test/test_classifier_routes.py index ec405e77..308a7257 100644 --- a/test/test_classifier_routes.py +++ b/test/test_classifier_routes.py @@ -128,7 +128,8 @@ def test_peer_info( "type": "object", "properties": { - "ix-public-peer-info": {"$ref": "#/definitions/ix-public-peer-info"}, + "ix-public-peer-info": { + "$ref": "#/definitions/ix-public-peer-info"}, "vpn-rr-peer-info": {"$ref": "#/definitions/vpn-rr-peer"}, "interfaces": { "type": "array", -- GitLab