aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBonfaceKilz2022-06-21 15:09:58 +0300
committerBonfaceKilz2022-06-21 15:21:47 +0300
commit618c1b3e73dc58954e7c84843fad97c04a7b9cfa (patch)
tree5c8178a6bc5401c3935b6d28a0258deb1dcf4aee /tests
parent57451c85834533ab92c4d689891a0db72b259d38 (diff)
downloadgenenetwork3-618c1b3e73dc58954e7c84843fad97c04a7b9cfa.tar.gz
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/test_file_utils.py2
1 files changed, 2 insertions, 0 deletions
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,