1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Skip tests requiring network access.
Author: Andrius Merkys <merkys@debian.org>
Index: openstructure/modules/io/tests/test_io_mmcif.py
===================================================================
--- openstructure.orig/modules/io/tests/test_io_mmcif.py
+++ openstructure/modules/io/tests/test_io_mmcif.py
@@ -253,6 +253,7 @@ class TestMMCifInfo(unittest.TestCase):
self.assertEqual(i.GetObsoleteInfo().GetPDBID(), '1FOO')
self.assertEqual(i.GetObsoleteInfo().GetReplacedPDBID(), '2BAR')
+ @unittest.skip("not running tests requiring network access")
def test_remote_loading(self):
if subprocess.call(['ping google.com -c 1'], shell=True,
Index: openstructure/modules/io/tests/test_io_pdb.py
===================================================================
--- openstructure.orig/modules/io/tests/test_io_pdb.py
+++ openstructure/modules/io/tests/test_io_pdb.py
@@ -36,6 +36,7 @@ class TestPDB(unittest.TestCase):
self.assertTrue(mol.BondExists(res2.FindAtom("CA"),res2.FindAtom("CB")))
self.assertTrue(mol.BondExists(resd.FindAtom("CA"),resd.FindAtom("CB")))
+ @unittest.skip("not running tests requiring network access")
def test_remote_loading(self):
if subprocess.call(['ping google.com -c 1'], shell=True,
|