From f0130673d57bcd74a52f67107f5061b741ebda39 Mon Sep 17 00:00:00 2001 From: Jaro Hartmann Date: Thu, 31 Aug 2023 11:07:42 +0200 Subject: [PATCH] chore(testing): Fix manufacturerId --- local/testing/testdata/transform-and-upload.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/local/testing/testdata/transform-and-upload.py b/local/testing/testdata/transform-and-upload.py index ff2a0c1518..c06cc75de4 100644 --- a/local/testing/testdata/transform-and-upload.py +++ b/local/testing/testdata/transform-and-upload.py @@ -463,10 +463,12 @@ def create_registry_asset(edc_upload_urls_, edc_asset_path_, edc_contract_defini }) print(name_at_manufacturer) - specific_asset_ids_temp.append({ + manufacturerId = { "key": "manufacturerId", "value": tmp_data["bpnl"] - }) + } + if manufacturerId not in specific_asset_ids_temp: + specific_asset_ids_temp.append(manufacturerId) if is_aas3: keys = [{ "type": "GlobalReference",