diff --git a/inventory_provider/routes/classifier.py b/inventory_provider/routes/classifier.py index 8f88fcf5ae7a47882124379dbf38b6b8ddd96d5b..4d156f7fb06370ac6357d28e875de07dc12e1940 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 ec405e775fc3ea44c3479e6cdf786146d5944db8..308a725762c796fb715ddaadb7644f736dfb69b7 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",