From 3c62b9bf316e7e9c8f1580836656342ddcfff49d Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Sun, 24 Jan 2021 21:00:08 +0100 Subject: [PATCH] pep8 --- inventory_provider/routes/data.py | 1 - test/test_general_poller_routes.py | 1 + test/test_lg_routes.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/inventory_provider/routes/data.py b/inventory_provider/routes/data.py index e49a0fab..9c9842d9 100644 --- a/inventory_provider/routes/data.py +++ b/inventory_provider/routes/data.py @@ -40,7 +40,6 @@ ROUTER_INTERFACES_SCHEMA = { POP_RESPONSE_SCHEMA = { "$schema": "http://json-schema.org/draft-07/schema#", - "type": "object", "definitions": { "pop-info": { diff --git a/test/test_general_poller_routes.py b/test/test_general_poller_routes.py index 0cdbc90c..f3974eec 100644 --- a/test/test_general_poller_routes.py +++ b/test/test_general_poller_routes.py @@ -7,6 +7,7 @@ DEFAULT_REQUEST_HEADERS = { "Accept": ["application/json"] } + def test_get_all_interfaces(client): rv = client.get( '/poller/interfaces', diff --git a/test/test_lg_routes.py b/test/test_lg_routes.py index f1a41270..add33c4b 100644 --- a/test/test_lg_routes.py +++ b/test/test_lg_routes.py @@ -8,6 +8,7 @@ DEFAULT_REQUEST_HEADERS = { "Accept": ["application/json"] } + def test_public_routers(client): rv = client.get( '/lg/routers/public', -- GitLab