mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Use URLs that doesn't error with status code 429
This commit is contained in:
@@ -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)}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user