From cfd8379917703ce03b631fd48b5a2bcecc30bbea Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 9 Aug 2018 16:55:11 +0200 Subject: [PATCH] Send copy_elements=True in new create collection test --- test/api/test_history_contents.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/api/test_history_contents.py b/test/api/test_history_contents.py index 2fe9a2d1405..f575b61b29a 100644 --- a/test/api/test_history_contents.py +++ b/test/api/test_history_contents.py @@ -277,7 +277,8 @@ class HistoryContentsApiTestCase(api.ApiTestCase, TestsDatasets): 'name': 'element_id2', 'tags': ['another_new_tag']} ]), - 'type': 'dataset_collection'} + 'type': 'dataset_collection', + 'copy_elements': True} r = self._post("histories/%s/contents" % self.history_id, creation_payload).json() assert r['elements'][0]['object']['id'] != hda_id, "HDA has not been copied" assert len(r['elements'][0]['object']['tags']) == 1