summaryrefslogtreecommitdiff
path: root/python/tests/connection.py
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-10-20 17:56:01 +0000
committerStephen D. Huston <shuston@apache.org>2009-10-20 17:56:01 +0000
commitdb18d33d3bca740454c3c9e6c5e62f8bcc1e70d4 (patch)
treec2d0d6006b1181f787c3da61bfe77b5b4d487de0 /python/tests/connection.py
parentfcc8f328bbac4a318dbe8cdead8de256dac8517d (diff)
downloadqpid-python-db18d33d3bca740454c3c9e6c5e62f8bcc1e70d4.tar.gz
Modified to work on Windows; fixes QPID-2149.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827747 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests/connection.py')
-rw-r--r--python/tests/connection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/connection.py b/python/tests/connection.py
index d340e4e9c1..8c00df56e1 100644
--- a/python/tests/connection.py
+++ b/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()