From 114c5a98cb035e5720bae2fb9632087301a58f1f Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Tue, 11 Jul 2023 11:03:04 +0000 Subject: [PATCH] Pre-release CI/CD pipeline fixes --- src/device/tests/Device_Emulated.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/device/tests/Device_Emulated.py b/src/device/tests/Device_Emulated.py index c8453486f..62a94c8a8 100644 --- a/src/device/tests/Device_Emulated.py +++ b/src/device/tests/Device_Emulated.py @@ -34,7 +34,10 @@ RSRC_SUBIF = RSRC_EP + '/subinterfaces/subinterface[{:d}]' RSRC_ADDRIPV4 = RSRC_SUBIF + '/ipv4/address[{:s}]' DEVICE_EMU_ENDPOINTS_COOKED = [] -for endpoint_uuid,endpoint_type,endpoint_sample_types in DEVICE_EMU_EP_DESCS: +for endpoint_data in DEVICE_EMU_EP_DESCS: + endpoint_uuid = endpoint_data['uuid'] + endpoint_type = endpoint_data['type'] + endpoint_sample_types = endpoint_data['sample_types'] endpoint_resource_key = RSRC_EP.format(str(endpoint_uuid)) sample_types = {} for endpoint_sample_type in endpoint_sample_types: -- GitLab