summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@users.sourceforge.net>2011-01-14 22:39:24 +0000
committerThomas Kluyver <takowl@users.sourceforge.net>2011-01-14 22:39:24 +0000
commit88ab2115b2527f5e63b3b99d7b10c2a7ff8ff59c (patch)
tree2df2dc328d48ead082f02bf06700f69676f16f92
parentd676171da3de3533133f454522f1e2d9f22ea6fe (diff)
downloadnose-88ab2115b2527f5e63b3b99d7b10c2a7ff8ff59c.tar.gz
Update test URL to one that still resolves.
-rw-r--r--nose/twistedtools.py2
-rw-r--r--unit_tests/test_twisted.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nose/twistedtools.py b/nose/twistedtools.py
index 5e3d6a4..3720610 100644
--- a/nose/twistedtools.py
+++ b/nose/twistedtools.py
@@ -97,7 +97,7 @@ def deferred(timeout=None):
@deferred(timeout=5.0)
def test_resolve():
- return reactor.resolve("nose.python-hosting.com")
+ return reactor.resolve("www.python.org")
Attention! If you combine this decorator with other decorators (like
"raises"), deferred() must be called *first*!
diff --git a/unit_tests/test_twisted.py b/unit_tests/test_twisted.py
index 460dacd..be5041d 100644
--- a/unit_tests/test_twisted.py
+++ b/unit_tests/test_twisted.py
@@ -30,7 +30,7 @@ test_resolve = deferred()(test_resolve)
#@deferred()
def test_raises_bad_return():
print reactor
- reactor.resolve("nose.python-hosting.com")
+ reactor.resolve("www.python.org")
test_raises_bad_return = raises(TypeError)(deferred()(test_raises_bad_return))
# Check we propagate twisted Failures as Exceptions