Description: Exclude test tyring to access remote ftpserver
Bug-Debian: https://bugs.debian.org/861496
Author: Andreas Tille <tille@debian.org>
Last-Update: Thu, 04 May 2017 12:50:22 +0200

--- a/tests/faidx_test.py
+++ b/tests/faidx_test.py
@@ -216,21 +216,5 @@ class TestFastxFileWithEmptySequence(uni
         self.assertEqual(ref_num, l)
 
 
-class TestRemoteFileFTP(unittest.TestCase):
-    '''test remote access.
-    '''
-
-    url = "ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/technical/reference/GRCh38_reference_genome/GRCh38_full_analysis_set_plus_decoy_hla.fa"
-
-
-    def testFTPView(self):
-        if not checkURL(self.url):
-            return
-        with pysam.Fastafile(self.url) as f:
-            self.assertEqual(
-                len(f.fetch("chr1", 0, 1000)),
-                1000)
-
-
 if __name__ == "__main__":
     unittest.main()
