* d/rules:
- Add some files that need to be removed after running tests
- Remove other autogenerated files to build twice in a row
+ * Exclude test tyring to access remote ftpserver
+ Closes: #861496
-- Andreas Tille <tille@debian.org> Thu, 04 May 2017 12:50:22 +0200
--- /dev/null
+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()