Skip to content

Commit

Permalink
Add test for uploading library file contents with tags
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Aug 16, 2024
1 parent 6a8df02 commit 1155e7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/galaxy_test/api/test_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ def _get_item(self, item_id: str):
item = item_response.json()
return item

def test_upload_file_contents_with_tags(self):
initial_tags = ["name:foobar", "barfoo"]
ld = self.library_populator.new_library_dataset(name=f"test-library-dataset-{uuid4()}", tags=initial_tags)
assert ld["tags"] == initial_tags


class TestPageTags(TagsApiTests):
api_name = "pages"
Expand Down

0 comments on commit 1155e7a

Please sign in to comment.