From 02492685ccb1c3d4fee6180e704b565d045e58d4 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Thu, 19 Dec 2024 14:14:05 +0100 Subject: [PATCH] Use select_from_url test data from github, not usegalaxy.org --- lib/galaxy/tools/parameters/cancelable_request.py | 2 +- test/functional/tools/select_from_url.xml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/galaxy/tools/parameters/cancelable_request.py b/lib/galaxy/tools/parameters/cancelable_request.py index 794854a3ae62..17964b805108 100644 --- a/lib/galaxy/tools/parameters/cancelable_request.py +++ b/lib/galaxy/tools/parameters/cancelable_request.py @@ -23,7 +23,7 @@ async def fetch_url( method: REQUEST_METHOD = "GET", ): async with session.request(method=method, url=url, params=params, data=data, headers=headers) as response: - return await response.json() + return await response.json(content_type=None) async def async_request_with_timeout( diff --git a/test/functional/tools/select_from_url.xml b/test/functional/tools/select_from_url.xml index 488055677e85..09298605a894 100644 --- a/test/functional/tools/select_from_url.xml +++ b/test/functional/tools/select_from_url.xml @@ -7,12 +7,11 @@ echo '$url_param_value_header_and_body' > '$param_value_header_and_body' ]]> - - + - + @@ -24,14 +23,14 @@ echo '$url_param_value_header_and_body' > '$param_value_header_and_body' --> - + [v.chrom, v.len]) ) ]]> - + [v.chrom, v.len])