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

pep8

parent 25e71caf
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ import json
import logging
import re
from flask import Blueprint, jsonify, Response, request
from flask import Blueprint, Response, request
from inventory_provider.routes import common
from inventory_provider.routes.common import _ignore_cache_or_retrieve
......
......@@ -24,7 +24,8 @@ def test_public_routers(client):
# no internal routers should be present
assert all(r['type'] == 'CORE' for r in response_data)
assert all(
re.match(r'^\S+\.geant\.(net|org)$', r['equipment name']) for r in response_data)
re.match(r'^\S+\.geant\.(net|org)$', r['equipment name'])
for r in response_data)
def test_with_cache(client):
......
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