[Python-modules-commits] [python-tornado] 02/10: use a domain that is more likely invalid

Ondřej Nový onovy at moszumanska.debian.org
Mon Aug 1 09:29:16 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 3c06629ddb9e77c22b293cd1acddbb013da08853
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date:   Thu Oct 8 13:13:30 2015 -0700

    use a domain that is more likely invalid
    
     avoids test failures in unisolated builds
    Patch-Name: domain-test.patch
---
 tornado/test/netutil_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tornado/test/netutil_test.py b/tornado/test/netutil_test.py
index 549c4fe..842a195 100644
--- a/tornado/test/netutil_test.py
+++ b/tornado/test/netutil_test.py
@@ -57,7 +57,7 @@ class _ResolverErrorTestMixin(object):
             return True  # Halt propagation.
 
         with ExceptionStackContext(handler):
-            self.resolver.resolve('an invalid domain', 80, callback=self.stop)
+            self.resolver.resolve('anasdas23dadasdasdasdi2n1validsdasdbwefrwfejnefsegfsdomain', 80, callback=self.stop)
 
         result = self.wait()
         self.assertIsInstance(result, Exception)
@@ -65,7 +65,7 @@ class _ResolverErrorTestMixin(object):
     @gen_test
     def test_future_interface_bad_host(self):
         with self.assertRaises(IOError):
-            yield self.resolver.resolve('an invalid domain', 80,
+            yield self.resolver.resolve('ana8sdasdadasdasdas1d12invalidsdasdbwefrwfejnefsegfsdomain', 80,
                                         socket.AF_UNSPEC)
 
 

-- 
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