Refactoring of Tapi Step2
[transportpce.git] / tests / transportpce_tests / tapi / test01_abstracted_topology.py
index 8f44a16b2ad9fbc6ef96a47b60a5995d99a3c0c7..69800bab315ba8a8d19e9cbb71ad5465d9dc7d0c 100644 (file)
@@ -646,7 +646,7 @@ class TransportTapitesting(unittest.TestCase):
                          '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)
@@ -684,14 +684,6 @@ class TransportTapitesting(unittest.TestCase):
         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: