--- /dev/null
+Author: Andreas Tille <tille@debian.org>
+Last-Update: Tue, 21 Jul 2015 11:39:00 +0200
+Description: Remove tests relying on online connection from test suite
+
+--- a/tests/AlignmentFile_test.py
++++ b/tests/AlignmentFile_test.py
+@@ -1730,49 +1730,6 @@ class TestRemoteFileFTP(unittest.TestCas
+ self.assertEqual(len(result), 36)
+
+
+-class TestRemoteFileHTTP(unittest.TestCase):
+-
+- url = "http://genserv.anat.ox.ac.uk/downloads/pysam/test/ex1.bam"
+- region = "chr1:1-1000"
+- local = os.path.join(DATADIR, "ex1.bam")
+-
+- def testView(self):
+- if not checkURL(self.url):
+- return
+-
+- samfile_local = pysam.AlignmentFile(self.local, "rb")
+- ref = list(samfile_local.fetch(region=self.region))
+-
+- result = pysam.view(self.url, self.region)
+- self.assertEqual(len(result), len(ref))
+-
+- def testFetch(self):
+- if not checkURL(self.url):
+- return
+-
+- samfile = pysam.AlignmentFile(self.url, "rb")
+- result = list(samfile.fetch(region=self.region))
+- samfile_local = pysam.AlignmentFile(self.local, "rb")
+- ref = list(samfile_local.fetch(region=self.region))
+-
+- self.assertEqual(len(ref), len(result))
+- for x, y in zip(result, ref):
+- self.assertEqual(x.compare(y), 0)
+-
+- def testFetchAll(self):
+- if not checkURL(self.url):
+- return
+-
+- samfile = pysam.AlignmentFile(self.url, "rb")
+- result = list(samfile.fetch())
+- samfile_local = pysam.AlignmentFile(self.local, "rb")
+- ref = list(samfile_local.fetch())
+-
+- self.assertEqual(len(ref), len(result))
+- for x, y in zip(result, ref):
+- self.assertEqual(x.compare(y), 0)
+-
+-
+ class TestLargeOptValues(unittest.TestCase):
+
+ ints = (65536, 214748, 2147484, 2147483647)
+--- a/tests/tabix_test.py
++++ b/tests/tabix_test.py
+@@ -927,23 +927,6 @@ for vcf_file in vcf_files:
+ ############################################################################
+
+
+-class TestRemoteFileHTTP(unittest.TestCase):
+-
+- url = "http://genserv.anat.ox.ac.uk/downloads/pysam/test/example_htslib.gtf.gz"
+- region = "chr1:1-1000"
+- local = os.path.join(DATADIR, "example.gtf.gz")
+-
+- def testFetchAll(self):
+- remote_file = pysam.TabixFile(self.url, "r")
+- remote_result = list(remote_file.fetch())
+- local_file = pysam.TabixFile(self.local, "r")
+- local_result = list(local_file.fetch())
+-
+- self.assertEqual(len(remote_result), len(local_result))
+- for x, y in zip(remote_result, local_result):
+- self.assertEqual(x, y)
+-
+-
+ class TestIndexArgument(unittest.TestCase):
+
+ filename_src = os.path.join(DATADIR, "example.vcf.gz")