From: Ole Streicher <olebole@debian.org>
Date: Tue, 14 Sep 2021 10:24:07 +0200
Subject: Disable tests that would require remote access

---
 parfive/tests/test_downloader.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/parfive/tests/test_downloader.py b/parfive/tests/test_downloader.py
index 16ea9d1..9f5c7a4 100644
--- a/parfive/tests/test_downloader.py
+++ b/parfive/tests/test_downloader.py
@@ -386,6 +386,7 @@ def test_done_callback_error(tmp_path, testserver):
 
 
 @skip_windows
+@pytest.mark.skip(reason="Don't try remove access")
 @pytest.mark.allow_hosts(True)
 def test_ftp(tmpdir):
     tmpdir = str(tmpdir)
@@ -404,6 +405,7 @@ def test_ftp(tmpdir):
 # I don't know of an alternative server which makes any sense to test this with
 @pytest.mark.skip("Remote server offline")
 @skip_windows
+@pytest.mark.skip(reason="Don't try remove access")
 @pytest.mark.allow_hosts(True)
 def test_ftp_pasv_command(tmpdir):
     tmpdir = str(tmpdir)
@@ -420,6 +422,7 @@ def test_ftp_pasv_command(tmpdir):
 
 
 @skip_windows
+@pytest.mark.skip(reason="Don't try remove access")
 @pytest.mark.allow_hosts(True)
 def test_ftp_http(tmpdir, httpserver):
     tmpdir = str(tmpdir)
@@ -527,6 +530,7 @@ def test_http_callback_success(httpserver, tmpdir):
     assert cb_status is None
 
 
+@pytest.mark.skip(reason="Don't try remove access")
 def test_http_callback_fail(tmpdir):
     # Test callback on failed download
     cb = MagicMock()
@@ -547,6 +551,7 @@ def test_http_callback_fail(tmpdir):
 
 
 @pytest.mark.allow_hosts(True)
+@pytest.mark.skip(reason="Don't try remove access")
 def test_ftp_callback_success(tmpdir):
     cb = MagicMock()
     dl = Downloader(config=SessionConfig(done_callbacks=[cb]))
