Skip to content

Commit

Permalink
adjust test_data_download method in GalaxyInteractorApi so an admin u…
Browse files Browse the repository at this point in the history
…ser is not required
  • Loading branch information
simonbray committed Jul 28, 2023
1 parent 3269758 commit 34dcced
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/galaxy/tool_util/verify/interactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,7 @@ def test_data_download(self, tool_id, filename, mode="file", is_output=True, too

if self.supports_test_data_download:
version_fragment = f"&tool_version={tool_version}" if tool_version else ""
response = self._get(
f"tools/{tool_id}/test_data_download?filename={filename}{version_fragment}", admin=True
)
response = self._get(f"tools/{tool_id}/test_data_download?filename={filename}{version_fragment}")
if response.status_code == 200:
if mode == "file":
result = response.content
Expand Down

0 comments on commit 34dcced

Please sign in to comment.