From 618c1b3e73dc58954e7c84843fad97c04a7b9cfa Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Tue, 21 Jun 2022 15:09:58 +0300 Subject: test_file_utils: Disable test cases for "cache_ipfs_file" * tests/unit/test_file_utils.py (test_cache_ipfs_file_cache_hit): Skip it. (test_cache_ipfs_file_cache_miss): Ditto. --- tests/unit/test_file_utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/unit/test_file_utils.py b/tests/unit/test_file_utils.py index 2c6f0b6..079293e 100644 --- a/tests/unit/test_file_utils.py +++ b/tests/unit/test_file_utils.py @@ -85,6 +85,7 @@ extracting the file""" "error": "gzip failed to unpack file" }) + @pytest.mark.skip(reason="ipfs http client breaks in Python > 38") @pytest.mark.unit_test def test_cache_ipfs_file_cache_hit(self): """Test that the correct file location is returned if there's a cache hit""" @@ -105,6 +106,7 @@ extracting the file""" os.rmdir(test_dir) self.assertEqual(file_loc, f"{test_dir}/genotype.txt") + @pytest.mark.skip(reason="ipfs http client breaks in Python > 38") @pytest.mark.unit_test @mock.patch("gn3.fs_helpers.ipfshttpclient") def test_cache_ipfs_file_cache_miss(self, -- cgit v1.2.3