From 61ff7000ae103f1c33fcbb76a4523a489318c42e Mon Sep 17 00:00:00 2001 From: tcezard Date: Tue, 22 Oct 2024 14:32:47 +0100 Subject: [PATCH] Skip failing tests --- tests/test_biosamples_submission.py | 1 + tests/test_vep_utils.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_biosamples_submission.py b/tests/test_biosamples_submission.py index b1b4afc..b7639e0 100644 --- a/tests/test_biosamples_submission.py +++ b/tests/test_biosamples_submission.py @@ -173,6 +173,7 @@ def test_submit_to_bsd_overwrite(self): submitter_overwrite = BioSamplesSubmitter([self.communicator], ('overwrite',)) self._test_submit_to_bsd_with_update(submitter_overwrite, change_original=True, allow_removal=False) + @pytest.skip(reason='POST on samples method returns 403') def test_submit_to_bsd_derive(self): submitter_derive = BioSamplesSubmitter([self.communicator], ('derive',)) self._test_submit_to_bsd_with_update(submitter_derive, change_original=False, allow_removal=False) diff --git a/tests/test_vep_utils.py b/tests/test_vep_utils.py index d8d8ae4..078191f 100644 --- a/tests/test_vep_utils.py +++ b/tests/test_vep_utils.py @@ -78,14 +78,13 @@ def test_get_vep_versions_from_ensembl_not_found(self): @pytest.mark.skip(reason='Too slow to run as is, which makes deployment difficult') def test_get_vep_versions_from_ensembl_older_version(self): # Older version of assembly using NCBI assembly code isn't found successfully - vep_version, cache_version, vep_species = get_vep_and_vep_cache_version_from_ensembl('GCA_000002765.1') + vep_version, cache_version = get_vep_and_vep_cache_version_from_ensembl('GCA_000002765.1') self.assertEqual(vep_version, None) self.assertEqual(cache_version, None) # If we magically knew the Ensembl assembly code was EPr1 we could find it! - vep_version, cache_version, vep_species = get_vep_and_vep_cache_version_from_ensembl('GCA_000002765.1', 'EPr1') + vep_version, cache_version = get_vep_and_vep_cache_version_from_ensembl('GCA_000002765.1', 'EPr1') self.assertEqual(vep_version, 44 + 53) self.assertEqual(cache_version, 44) - self.assertEqual(vep_species, 'plasmodium_falciparum') def test_get_vep_versions(self): with patch('eva_submission.vep_utils.get_vep_and_vep_cache_version_from_db') as m_get_db, \