Skip to content
Snippets Groups Projects
Commit 89882afe authored by Sam Roberts's avatar Sam Roberts
Browse files

fix tests

parent 916ecc90
No related branches found
No related tags found
No related merge requests found
...@@ -548,6 +548,7 @@ def _get_dashboards(interface, region=None): ...@@ -548,6 +548,7 @@ def _get_dashboards(interface, region=None):
if region == 'EAP': if region == 'EAP':
yield BRIAN_DASHBOARDS.EAP yield BRIAN_DASHBOARDS.EAP
def _get_dashboard_data(ifc, customers, regions=None): def _get_dashboard_data(ifc, customers, regions=None):
if regions is None: if regions is None:
regions = [] regions = []
......
...@@ -788,7 +788,7 @@ def test_populate_poller_interfaces_cache( ...@@ -788,7 +788,7 @@ def test_populate_poller_interfaces_cache(
"type": "SERVICE TYPE", "type": "SERVICE TYPE",
"status": "operational" "status": "operational"
}], }],
'customers': {'geant'} 'customers': [{'name': 'GEANT', 'type': 'UNKNOWN'}]
}, },
"AE_A.456": { "AE_A.456": {
'services': [{ 'services': [{
...@@ -797,7 +797,7 @@ def test_populate_poller_interfaces_cache( ...@@ -797,7 +797,7 @@ def test_populate_poller_interfaces_cache(
"type": "SERVICE TYPE", "type": "SERVICE TYPE",
"status": "operational" "status": "operational"
}], }],
'customers': {'geant'} 'customers': [{'name': 'GEANT', 'type': 'UNKNOWN'}]
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment