Skip to content

Commit

Permalink
KPMP-5715: set globus_dlu_status to NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
HaneenT committed Dec 16, 2024
1 parent 6c9f316 commit b27535e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data_management/services/dlu_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion data_management/services/tests/test_dlu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit b27535e

Please sign in to comment.