Skip to content

Commit

Permalink
test: fix failing tests #387
Browse files Browse the repository at this point in the history
  • Loading branch information
VKTB committed Nov 16, 2022
1 parent 819e7a1 commit fcbfb0f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/search_api/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,8 +411,6 @@ def test_from_icat_document_entity_with_data_for_all_related_entities(self):
expected_entity_data["pid"] = f"pid:{INVESTIGATION_ICAT_DATA['id']}"
expected_entity_data["doi"] = None
expected_entity_data["datasets"] = [DATASET_PANOSC_DATA, DATASET_PANOSC_DATA]
expected_entity_data["members"] = [MEMBER_PANOSC_DATA]
expected_entity_data["parameters"] = [PARAMETER_PANOSC_DATA]

icat_data = INVESTIGATION_ICAT_DATA.copy()
icat_data["doi"] = None
Expand All @@ -434,7 +432,6 @@ def test_from_icat_file_entity_without_data_for_related_entities(self):

def test_from_icat_file_entity_with_data_for_all_related_entities(self):
expected_entity_data = FILE_PANOSC_DATA.copy()
expected_entity_data["dataset"] = DATASET_PANOSC_DATA

icat_data = DATAFILE_ICAT_DATA.copy()
icat_data["dataset"] = DATASET_ICAT_DATA
Expand Down

0 comments on commit fcbfb0f

Please sign in to comment.