'node name should be: ROADM-infra')
def test_43_get_tapi_topology_T100G(self):
- self.tapi_topo["topology-id"] = test_utils.T100GE
+ self.tapi_topo["topology-id"] = test_utils.T100GE_UUID
response = test_utils.transportpce_api_rpc_request(
'tapi-topology', 'get-topology-details', self.tapi_topo)
self.assertEqual(response['status_code'], requests.codes.ok)
self.assertIn(response.status_code, (requests.codes.ok, requests.codes.no_content))
-# def count_object_with_double_key(list_dicts, key1, key2, value):
-# nb = 0
-# for dictio in list_dicts:
-# print(dictio)
-# if dictio[key1][0][key2] == value:
-# nb += 1
-# return nb
-
def count_object_with_double_key(list_dicts, key1, key2, value):
nb = 0
for dictio in list_dicts: