From b27535e4731d51e74371807f6f610943ec6f4d46 Mon Sep 17 00:00:00 2001 From: HaneenT Date: Mon, 16 Dec 2024 14:36:30 -0500 Subject: [PATCH] KPMP-5715: set globus_dlu_status to NULL --- data_management/services/dlu_utils.py | 2 +- data_management/services/tests/test_dlu.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data_management/services/dlu_utils.py b/data_management/services/dlu_utils.py index 48056cc..ac6d196 100644 --- a/data_management/services/dlu_utils.py +++ b/data_management/services/dlu_utils.py @@ -15,7 +15,7 @@ def dlu_package_dict_to_dpi_tuple(dlu_inventory: dict): dlu_inventory["dluSubjectId"], dlu_inventory["dluError"], dlu_inventory["dluLfu"], - dlu_inventory["globusDluStatus"] + None ) def dlu_package_dict_to_dmd_tuple(dlu_inventory: dict): diff --git a/data_management/services/tests/test_dlu.py b/data_management/services/tests/test_dlu.py index bf5ccb4..8381dad 100644 --- a/data_management/services/tests/test_dlu.py +++ b/data_management/services/tests/test_dlu.py @@ -29,7 +29,7 @@ def test_dlu_package_dict_to_dpi_tuple(self): } output = dlu_package_dict_to_dpi_tuple(test_data) print(output) - assert output == ('package_id', '1970-01-20 01:42:48', 'submitter', 'tis', 'package_type', 'subj_id', True, False, 'status') + assert output == ('package_id', '1970-01-20 01:42:48', 'submitter', 'tis', 'package_type', 'subj_id', True, False, None) def test_dlu_package_dict_to_dmd_tuple(self): test_data = {