Loading
Fix ``test_storage_show`` API test
Pass hda id instead of dataset id to ``dataset_storage_info()``.
Fix the following traceback:
```
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)
...
if http_error_msg:
> raise HTTPError(http_error_msg, response=self)
E requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://127.0.0.1:9129/api/datasets/9a58064fb2c43d99/storage
http_error_msg = ('404 Client Error: Not Found for url: '
'http://127.0.0.1:9129/api/datasets/9a58064fb2c43d99/storage')
reason = 'Not Found'
self = <Response [404]>
```
Broken since the test was introduced in commit c5bf63bc .
Started failing after https://github.com/galaxyproject/galaxy/pull/19506 ,
but probably just because of database ids changing.