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

pep8

parent 1f1bf8b8
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,6 @@ MULTICAST_SUBSCRIPTION_LIST_SCHEMA = {
}
@routes.after_request
def after_request(resp):
return common.after_request(resp)
......@@ -445,7 +444,7 @@ def eumetsat_multicast(hostname=None):
MX1_FRA = 'mx1.fra.de.geant.net'
SUBSCRIPTIONS = [{
'subscription': f'232.223.223.{idx}',
'endpoint':'193.17.9.3',
'endpoint': '193.17.9.3',
} for idx in range(1, 73)]
SUBSCRIPTIONS.append(
......@@ -458,8 +457,7 @@ def eumetsat_multicast(hostname=None):
f'.{sub["subscription"]}.{sub["endpoint"]}'
'.255.255.255.255')
cache_key = f'classifier-cache:poller-eumetsat-multicast'
cache_key = 'classifier-cache:poller-eumetsat-multicast'
r = common.get_current_redis()
......
......@@ -23,7 +23,7 @@ def test_get_all_interfaces(client):
def test_all_router_interface_speeds(client):
rv = client.post(
f'/poller/speeds',
'/poller/speeds',
headers=DEFAULT_REQUEST_HEADERS)
assert rv.status_code == 200
......
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