[Python-modules-commits] [python-tornado] 01/10: Disable domain tests to prevent internet access during build

Ondřej Nový onovy at moszumanska.debian.org
Fri Aug 5 13:22:54 UTC 2016


This is an automated email from the git hooks/post-receive script.

onovy pushed a commit to branch master
in repository python-tornado.

commit 7d809af03ea8b128b7b4e1f63bd758cbb450109f
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date:   Thu Oct 8 13:13:30 2015 -0700

    Disable domain tests to prevent internet access during build
    
    Patch-Name: disable-domain-tests.patch
---
 tornado/test/netutil_test.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tornado/test/netutil_test.py b/tornado/test/netutil_test.py
index 549c4fe..a519bbd 100644
--- a/tornado/test/netutil_test.py
+++ b/tornado/test/netutil_test.py
@@ -51,6 +51,7 @@ class _ResolverTestMixin(object):
 # It is impossible to quickly and consistently generate an error in name
 # resolution, so test this case separately, using mocks as needed.
 class _ResolverErrorTestMixin(object):
+    @unittest.skip("Prevent internet access during build")
     def test_bad_host(self):
         def handler(exc_typ, exc_val, exc_tb):
             self.stop(exc_val)
@@ -63,6 +64,7 @@ class _ResolverErrorTestMixin(object):
         self.assertIsInstance(result, Exception)
 
     @gen_test
+    @unittest.skip("Prevent internet access during build")
     def test_future_interface_bad_host(self):
         with self.assertRaises(IOError):
             yield self.resolver.resolve('an invalid domain', 80,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-tornado.git



More information about the Python-modules-commits mailing list