mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix test_get_tags_histories_content test
The calling code expects that this creates a dataset, but instead this used to create dataset collection.
This commit is contained in:
@@ -135,9 +135,9 @@ class TestItemTagsApi(ApiTestCase):
|
||||
return response
|
||||
|
||||
def _create_history_contents(self, history_id):
|
||||
history_content_id = self.dataset_collection_populator.create_list_in_history(
|
||||
history_id, contents=["test_dataset"], direct_upload=True, wait=True
|
||||
).json()["outputs"][0]["id"]
|
||||
history_content_id = self.dataset_populator.new_dataset(
|
||||
history_id, contents="test_dataset", direct_upload=True, wait=True
|
||||
)["id"]
|
||||
return history_content_id
|
||||
|
||||
def _create_history(self):
|
||||
|
||||
Reference in New Issue
Block a user