Skip to content

Commit

Permalink
Merge pull request galaxyproject#17133 from mvdbeek/tusuploader_fix
Browse files Browse the repository at this point in the history
[23.0] Assert that tus uploader instance has URL
  • Loading branch information
mvdbeek authored Dec 6, 2023
2 parents 472ebfe + 7f30bb9 commit f9be1a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy_test/api/test_tools_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@ def upload_file(url, path, api_key, history_id):
# Upload a file to a tus server.
uploader = my_client.uploader(path, metadata=metadata)
uploader.upload()
assert uploader.url
return uploader.url.rsplit("/", 1)[1]

with self.dataset_populator.test_history() as history_id:
Expand Down

0 comments on commit f9be1a4

Please sign in to comment.