diff --git a/lib/galaxy_test/api/test_libraries.py b/lib/galaxy_test/api/test_libraries.py index e0a777c3402..19c23a78bf5 100644 --- a/lib/galaxy_test/api/test_libraries.py +++ b/lib/galaxy_test/api/test_libraries.py @@ -8,6 +8,7 @@ from galaxy_test.base.populators import ( DatasetCollectionPopulator, DatasetPopulator, LibraryPopulator, + skip_if_github_down, ) from ._framework import ApiTestCase @@ -252,6 +253,7 @@ class LibrariesApiTestCase(ApiTestCase): self._assert_status_code_is(create_response, 400) assert create_response.json() == "Requested extension 'xxx' unknown, cannot upload dataset." + @skip_if_github_down def test_fetch_failed_validation(self): # Exception handling is really rough here - we should be creating a dataset in error instead # of just failing the job like this. @@ -282,6 +284,7 @@ class LibrariesApiTestCase(ApiTestCase): dataset = self.library_populator.get_library_contents_with_path(library["id"], "/4.bed") assert dataset["state"] == "error", dataset + @skip_if_github_down def test_fetch_url_archive_to_folder(self): history_id, library, destination = self._setup_fetch_to_folder("single_url") targets = [{ diff --git a/lib/galaxy_test/api/test_tools.py b/lib/galaxy_test/api/test_tools.py index 28e9953a4f2..fda7bc1087d 100644 --- a/lib/galaxy_test/api/test_tools.py +++ b/lib/galaxy_test/api/test_tools.py @@ -14,6 +14,7 @@ from galaxy_test.base.populators import ( DatasetCollectionPopulator, DatasetPopulator, LibraryPopulator, + skip_if_github_down, skip_without_tool, stage_rules_example, uses_test_history, @@ -229,6 +230,7 @@ class ToolsTestCase(ApiTestCase, TestsTools): assert xref["value"] == "bwa" @skip_without_tool("test_data_source") + @skip_if_github_down def test_data_source_ok_request(self): with self.dataset_populator.test_history() as history_id: payload = self.dataset_populator.run_tool_payload( diff --git a/lib/galaxy_test/api/test_tools_upload.py b/lib/galaxy_test/api/test_tools_upload.py index 73f862dab84..1a22fa4cc16 100644 --- a/lib/galaxy_test/api/test_tools_upload.py +++ b/lib/galaxy_test/api/test_tools_upload.py @@ -11,6 +11,7 @@ from galaxy_test.base.constants import ( ) from galaxy_test.base.populators import ( DatasetPopulator, + skip_if_github_down, skip_if_site_down, skip_without_datatype, stage_inputs, @@ -292,6 +293,7 @@ class ToolsUploadTestCase(ApiTestCase): assert details["genome_build"] == "hg19" @uses_test_history(require_new=False) + @skip_if_github_down def test_upload_multiple_mixed_success(self, history_id): destination = {"type": "hdas"} targets = [{ @@ -323,6 +325,7 @@ class ToolsUploadTestCase(ApiTestCase): assert output1["state"] == "error" @uses_test_history(require_new=False) + @skip_if_github_down def test_fetch_bam_file_from_url_with_extension_set(self, history_id): destination = {"type": "hdas"} targets = [{ @@ -345,6 +348,7 @@ class ToolsUploadTestCase(ApiTestCase): self.dataset_populator.get_history_dataset_details(history_id, dataset=outputs[0], assert_ok=True) @uses_test_history(require_new=False) + @skip_if_github_down def test_fetch_html_from_url(self, history_id): destination = {"type": "hdas"} targets = [{