Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def from_rs_to_cisu(
rs_sr_edxl_list = [pm.payload for pm in persisted_rs_sr]
rs_sr_edxl_list.append(edxl_json)

output_json = ResourcesInfoCISUConverter.copy_rs_input_content(rs_ri)
output_json = cls.copy_rs_input_content(edxl_json)

enriched = enrich_rs_ri_with_rs_srs(
rs_ri_edxl=rs_ri,
Expand Down
2 changes: 2 additions & 0 deletions converter/tests/cisu/test_resources_status_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def test_from_rs_to_cisu_real_data():
assert result is not None
assert result != []

assert result["distributionID"] == rs_sr_new["distributionID"]

resources = get_cisu_resources(result)

assert len(resources) == 2
Expand Down
Loading