From: Hilko Bengen <bengen@debian.org>
Date: Sat, 13 Aug 2016 14:55:19 +0200
Subject: Remove test functions that need the network

---
 tests/dependencies.py | 20 --------------------
 1 file changed, 20 deletions(-)
 mode change 100644 => 100755 tests/dependencies.py

diff --git a/tests/dependencies.py b/tests/dependencies.py
old mode 100644
new mode 100755
index a221f68..10cb12d
--- a/tests/dependencies.py
+++ b/tests/dependencies.py
@@ -60,26 +60,6 @@ class DependenciesTest(unittest.TestCase):
     result = dependencies._CheckSQLite3(verbose_output=False)
     self.assertTrue(result)
 
-  @unittest.skipUnless(hostname, 'no internet connectivity')
-  def testDownloadPageContent(self):
-    """Tests the _DownloadPageContent function."""
-    download_url = u'https://github.com/log2timeline/dfvfs/releases'
-    page_content = dependencies._DownloadPageContent(download_url)
-    self.assertIsNotNone(page_content)
-
-    download_url = u'https://github.com/log2timeline/dfvfs/bogus'
-    page_content = dependencies._DownloadPageContent(download_url)
-    self.assertIsNone(page_content)
-
-  @unittest.skipUnless(hostname, 'no internet connectivity')
-  def testGetLibyalGithubReleasesLatestVersion(self):
-    """Tests the _GetLibyalGithubReleasesLatestVersion function."""
-    version = dependencies._GetLibyalGithubReleasesLatestVersion(u'libbde')
-    self.assertNotEqual(version, 0)
-
-    version = dependencies._GetLibyalGithubReleasesLatestVersion(u'bogus')
-    self.assertEqual(version, 0)
-
   def testImportPythonModule(self):
     """Tests the _ImportPythonModule function."""
     module = dependencies._ImportPythonModule(u'os')
