diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-04-09 10:54:07 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-04-09 10:54:07 +0000 |
| commit | df0f59227e5947aa4620e8c319823e96c5796234 (patch) | |
| tree | 8455f285068e911137d753f7c390781432032373 /python/qpid/tests/messaging/__init__.py | |
| parent | 7a0d795940c5c68383b0224740f085e8e6b4e60b (diff) | |
| download | qpid-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/__init__.py')
| -rw-r--r-- | python/qpid/tests/messaging/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/qpid/tests/messaging/__init__.py b/python/qpid/tests/messaging/__init__.py index b2a600982a..b106377cc9 100644 --- a/python/qpid/tests/messaging/__init__.py +++ b/python/qpid/tests/messaging/__init__.py @@ -50,7 +50,7 @@ class Base(Test): self.rcv = self.setup_receiver() def teardown(self): - if self.conn is not None and self.conn.connected(): + if self.conn is not None and self.conn.attached(): self.conn.close() def content(self, base, count = None): @@ -146,9 +146,9 @@ class Base(Test): def transport(self): if self.broker.scheme == self.broker.AMQPS: - return "tls" + return "ssl" else: - return "plain" + return "tcp" def connection_options(self): return {"reconnect": self.reconnect(), |
