Use URLs that doesn't error with status code 429

This commit is contained in:
Nicola Soranzo
2026-03-08 01:12:50 +00:00
parent 22bb9caa9a
commit 677212c4d4
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -3186,11 +3186,8 @@ class TestToolsApi(ApiTestCase, TestsTools):
def test_metadata_validator_can_fail_on_deferred_input(self, history_id):
# This test fails because we just skip the validator
# Fixing this is a TODO
deferred_bam_details = self.dataset_populator.create_deferred_hda(
history_id,
"https://github.com/galaxyproject/galaxy/blob/dev/test-data/3unsorted.bam?raw=true",
ext="unsorted.bam",
)
url_1 = self.dataset_populator.base64_url_for_test_file("3unsorted.bam")
deferred_bam_details = self.dataset_populator.create_deferred_hda(history_id, url_1, ext="unsorted.bam")
fasta1_contents = open(self.get_filename("1.fasta")).read()
fasta = self.dataset_populator.new_dataset(history_id, content=fasta1_contents)
inputs = {"input1": dataset_to_param(deferred_bam_details), "reference": dataset_to_param(fasta)}
+1 -1
View File
@@ -11,7 +11,7 @@ from whoosh import index
from galaxy.util.compression_utils import CompressedFile
from tool_shed.util.shed_index import build_index
URL = "https://github.com/mvdbeek/toolshed-test-data/blob/master/toolshed_community_files.tgz?raw=true"
URL = "https://github.com/mvdbeek/toolshed-test-data/raw/refs/heads/master/toolshed_community_files.tgz"
@pytest.fixture