Unverified Commit 062cdda8 authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #19522 from nsoranzo/release_24.0_fix_test_storage_show

[24.0] Fix ``test_storage_show`` API test
parents 3cf5a45c cf5d6cec
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -708,7 +708,6 @@ class TestDatasetsApi(ApiTestCase):
        for purged_source_id in expected_purged_source_ids:
            self.dataset_populator.wait_for_purge(history_id, purged_source_id["id"])

    @requires_new_history
    @requires_new_library
    def test_delete_batch_lddas(self):
        # Create a library dataset
@@ -859,9 +858,7 @@ class TestDatasetsApi(ApiTestCase):

    def test_storage_show(self, history_id):
        hda = self.dataset_populator.new_dataset(history_id, wait=True)
        hda_details = self.dataset_populator.get_history_dataset_details(history_id, dataset=hda)
        dataset_id = hda_details["dataset_id"]
        storage_info_dict = self.dataset_populator.dataset_storage_info(dataset_id)
        storage_info_dict = self.dataset_populator.dataset_storage_info(hda["id"])
        assert_has_keys(storage_info_dict, "object_store_id", "name", "description")

    def test_storage_show_on_discarded(self, history_id):