Skip to content
Snippets Groups Projects
Commit c290ad72 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Fix tests

parent c56f39d3
No related branches found
No related tags found
No related merge requests found
...@@ -722,17 +722,17 @@ def populate_inventory(get_test_data, data_config): ...@@ -722,17 +722,17 @@ def populate_inventory(get_test_data, data_config):
@pytest.mark.parametrize( @pytest.mark.parametrize(
"folder_name, excluded_nrens, expected_nrens", "folder_name, excluded_nrens, expected_nrens",
[ [
("NREN Access", [], {'CESNET', 'GEANT', 'KIAE', 'LITNET', 'SWITCH'}), ("NREN Access", [], {'ASNET-AM', 'CESNET', 'GEANT', 'KIAE', 'LITNET', 'SWITCH'}),
("NREN Access", ["GEANT", "KIAE"], {'CESNET', 'LITNET', 'SWITCH'}), ("NREN Access", ["GEANT", "KIAE"], {'ASNET-AM', 'CESNET', 'LITNET', 'SWITCH'}),
( (
"NREN Access", "NREN Access",
[], [],
{"LITNET", "CESNET", "GEANT", "KIAE", "SWITCH"}, {'ASNET-AM', "LITNET", "CESNET", "GEANT", "KIAE", "SWITCH"},
), ),
( (
"NREN Access", "NREN Access",
["GEANT"], ["GEANT"],
{"LITNET", "CESNET", "KIAE", "SWITCH"}, {'ASNET-AM', "LITNET", "CESNET", "KIAE", "SWITCH"},
), ),
("testfolder", ["GEANT"], {"KIAE", "SWITCH"}), ("testfolder", ["GEANT"], {"KIAE", "SWITCH"}),
], ],
...@@ -888,7 +888,7 @@ def test_provision_re_peer_dashboard( ...@@ -888,7 +888,7 @@ def test_provision_re_peer_dashboard(
@pytest.mark.parametrize( @pytest.mark.parametrize(
"folder_name, dashboard_id, expected_dashboard_count", "folder_name, dashboard_id, expected_dashboard_count",
[ [
('NREN Access', 'NREN', 5), ('NREN Access', 'NREN', 6),
('EAP NREN Access', 'EAP', 1) ('EAP NREN Access', 'EAP', 1)
] ]
) )
...@@ -914,6 +914,7 @@ def test_provision_nren_category( ...@@ -914,6 +914,7 @@ def test_provision_nren_category(
"interfaces": nren_interfaces, "interfaces": nren_interfaces,
}, },
"EAP": { "EAP": {
'region': 'EAP',
"tag": ["eap"], "tag": ["eap"],
"folder_name": "EAP NREN Access", "folder_name": "EAP NREN Access",
"interfaces": eap_interfaces, "interfaces": eap_interfaces,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment