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

pep8

parent dca90233
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ def poller_interface_oids(hostname): ...@@ -23,7 +23,7 @@ def poller_interface_oids(hostname):
snmp_data_string = r.hget(hostname, 'snmp-interfaces') snmp_data_string = r.hget(hostname, 'snmp-interfaces')
if not snmp_data_string: if not snmp_data_string:
return Response( return Response(
response='no snmp available info for '%r % hostname, response='no snmp available info for %r' % hostname,
status=404, status=404,
mimetype='text/html') mimetype='text/html')
......
...@@ -105,4 +105,3 @@ def test_router_interfaces(router, client_with_mocked_data): ...@@ -105,4 +105,3 @@ def test_router_interfaces(router, client_with_mocked_data):
response = json.loads(rv.data.decode("utf-8")) response = json.loads(rv.data.decode("utf-8"))
jsonschema.validate(response, interfaces_list_schema) jsonschema.validate(response, interfaces_list_schema)
assert response # at least shouldn't be empty assert response # at least shouldn't be empty
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment