[Python-modules-commits] [python-tornado] 02/14: Disable domain tests to prevent internet access during build
Ondřej Nový
onovy at moszumanska.debian.org
Fri May 12 14:52:09 UTC 2017
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-tornado.
commit e4208914e75ba45ab974d0284910bd2847aec2c8
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 9564290..611d6ff 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