summaryrefslogtreecommitdiff
path: root/qpid/python/tests
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2009-10-28 15:35:50 +0000
committerMartin Ritchie <ritchiem@apache.org>2009-10-28 15:35:50 +0000
commitecd3a8b8f860aee06001979602000121b50c2bc9 (patch)
treef38ebe6769aae39c57100e75a6bf75de646a42a9 /qpid/python/tests
parent1d9d0adc3d91900373b7ac484e6645a279d35981 (diff)
downloadqpid-python-ecd3a8b8f860aee06001979602000121b50c2bc9.tar.gz
Modified to work on Windows; fixes QPID-2149.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/0.5.x-dev@830610 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests')
-rw-r--r--qpid/python/tests/connection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/tests/connection.py b/qpid/python/tests/connection.py
index d340e4e9c1..8c00df56e1 100644
--- a/qpid/python/tests/connection.py
+++ b/qpid/python/tests/connection.py
@@ -91,11 +91,11 @@ class ConnectionTest(TestCase):
def tearDown(self):
self.running = False
- connect("0.0.0.0", PORT).close()
+ connect("127.0.0.1", PORT).close()
self.server.join(3)
def connect(self, **kwargs):
- return Connection(connect("0.0.0.0", PORT), **kwargs)
+ return Connection(connect("127.0.0.1", PORT), **kwargs)
def test(self):
c = self.connect()