Upgrade openroadm service models to 10.1
[transportpce.git] / tests / transportpce_tests / pce / test01_pce.py
index d31f79588d1bd4061514eb4c023494aa00e01dac..6477c54f45355766f3f5a99a41e6ea41365c0bf2 100644 (file)
@@ -260,11 +260,23 @@ class TransportPCEtesting(unittest.TestCase):
                                                        {"service-format": "Ethernet", "service-rate": "100",
                                                            "clli": "ORANGE1", "node-id": "XPONDER-1-2"},
                                                        {"customer-code": ["Some customer-code"],
-                                                           "co-routing": {"existing-service": ["Some existing-service"]}
-                                                        },
+                                                           "co-routing": {
+                                                           "service-identifier-list": [
+                                                               {
+                                                                   "service-identifier": "Some existing-service",
+                                                               }
+                                                           ]
+                                                       }
+                                                       },
                                                        {"customer-code": ["Some customer-code"],
-                                                           "co-routing": {"existing-service": ["Some existing-service"]}
-                                                        }, "hop-count")
+                                                           "co-routing": {
+                                                           "service-identifier-list": [
+                                                               {
+                                                                   "service-identifier": "Some existing-service",
+                                                               }
+                                                           ]
+                                                       }
+                                                       }, "hop-count")
         self.assertEqual(response.status_code, requests.codes.ok)
         res = response.json()
         self.assertIn('Path is calculated',