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

pep8

parent 9bce434e
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment