Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 c5bf63b . Started failing after #19506 , but probably just because of database ids changing.
- Loading branch information