summaryrefslogtreecommitdiff
path: root/python/qpid/tests/messaging/message.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-04-09 10:54:07 +0000
committerRafael H. Schloming <rhs@apache.org>2010-04-09 10:54:07 +0000
commitdf0f59227e5947aa4620e8c319823e96c5796234 (patch)
tree8455f285068e911137d753f7c390781432032373 /python/qpid/tests/messaging/message.py
parent7a0d795940c5c68383b0224740f085e8e6b4e60b (diff)
downloadqpid-python-df0f59227e5947aa4620e8c319823e96c5796234.tar.gz
Changes to connection lifecycle methods and Connection parameters:
- Connection.open -> Connection.establish - Connection.connect() split into Connection.open(), Connection.attach() - Connection.disconnect() -> Connection.detach() - reconnect_hosts -> reconnect_urls - transport now takes tcp, ssl, and tcp+tls git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932352 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/messaging/message.py')
-rw-r--r--python/qpid/tests/messaging/message.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/qpid/tests/messaging/message.py b/python/qpid/tests/messaging/message.py
index 9272be7fa4..51d7879d55 100644
--- a/python/qpid/tests/messaging/message.py
+++ b/python/qpid/tests/messaging/message.py
@@ -53,8 +53,7 @@ ECHO_Q = 'test-message-echo-queue; {create: always, delete: always}'
class MessageEchoTests(Base):
def setup_connection(self):
- return Connection.open(self.broker.host, self.broker.port,
- **self.connection_options())
+ return Connection.establish(self.broker, **self.connection_options())
def setup_session(self):
return self.conn.session()