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:
mvdbeek
2024-04-19 10:22:45 +02:00
parent 5addd00933
commit e32b9aa608
+3 -3
View File
@@ -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):