[pygobject] Comment out tests that require SRV lookups
- From: Tomeu Vizoso <tomeuv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Comment out tests that require SRV lookups
- Date: Tue, 28 Dec 2010 12:27:33 +0000 (UTC)
commit efc186f692f9eac781cc47456be74a3da7f14dcd
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date: Tue Dec 28 13:25:34 2010 +0100
Comment out tests that require SRV lookups
tests/test_gresolver.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/tests/test_gresolver.py b/tests/test_gresolver.py
index ef8585c..4238df7 100644
--- a/tests/test_gresolver.py
+++ b/tests/test_gresolver.py
@@ -46,6 +46,9 @@ class TestResolver(unittest.TestCase):
loop = glib.MainLoop()
loop.run()
+""" Commented out because this requires an active internet connection and a
+ router that supports SRV lookups
+
def test_resolver_lookup_service(self):
targets = self.resolver.lookup_service("xmpp-client", "tcp", "google.com")
self.failUnless(isinstance(targets[0], gio.SrvTarget))
@@ -62,4 +65,4 @@ class TestResolver(unittest.TestCase):
loop = glib.MainLoop()
loop.run()
-
+"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]