From c4147eef3de9fcb42d624bdb525812c07c24f71d Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Thu, 27 Jun 2019 17:32:06 +0200 Subject: [PATCH] pep8 --- test/per_router/test_data_routes.py | 26 +++++++++++++------------- test/per_router/test_poller_routes.py | 14 +++++++------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/test/per_router/test_data_routes.py b/test/per_router/test_data_routes.py index 2294c4b2..8975ce6d 100644 --- a/test/per_router/test_data_routes.py +++ b/test/per_router/test_data_routes.py @@ -48,19 +48,19 @@ def test_router_interfaces(router, client_with_mocked_data): def test_snmp_ids(router, client_with_mocked_data): - snmp_id_list_schema = { - "$schema": "http://json-schema.org/draft-07/schema#", - "type": "array", - "items": { - "type": "object", - "properties": { - "index": {"type": "string"}, - "name": {"type": "string"} - }, - "required": ["index", "name"], - "additionalProperties": False - } - } + # snmp_id_list_schema = { + # "$schema": "http://json-schema.org/draft-07/schema#", + # "type": "array", + # "items": { + # "type": "object", + # "properties": { + # "index": {"type": "string"}, + # "name": {"type": "string"} + # }, + # "required": ["index", "name"], + # "additionalProperties": False + # } + # } rv = client_with_mocked_data.post( "/testing/snmp/" + router, diff --git a/test/per_router/test_poller_routes.py b/test/per_router/test_poller_routes.py index 26774dc3..98c54c8b 100644 --- a/test/per_router/test_poller_routes.py +++ b/test/per_router/test_poller_routes.py @@ -1,10 +1,10 @@ -import json -import jsonschema - -DEFAULT_REQUEST_HEADERS = { - "Content-type": "application/json", - "Accept": ["application/json"] -} +# import json +# import jsonschema +# +# DEFAULT_REQUEST_HEADERS = { +# "Content-type": "application/json", +# "Accept": ["application/json"] +# } def test_router_interfaces(router, client_with_mocked_data): -- GitLab