diff options
| author | Rafael H. Schloming <rhs@apache.org> | 2010-07-13 17:58:44 +0000 |
|---|---|---|
| committer | Rafael H. Schloming <rhs@apache.org> | 2010-07-13 17:58:44 +0000 |
| commit | e26d7c17afc51e5afccbe4114f62e5d5cd030256 (patch) | |
| tree | 2bbe1162a27504dd35524483b21ada49e609a578 /python/qpid/tests | |
| parent | b34fe9f8bf9bf60a471506df49b73ff8190355aa (diff) | |
| download | qpid-python-e26d7c17afc51e5afccbe4114f62e5d5cd030256.tar.gz | |
fixed missign import and added test case for reconnect_urls
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests')
| -rw-r--r-- | python/qpid/tests/messaging/endpoints.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/qpid/tests/messaging/endpoints.py b/python/qpid/tests/messaging/endpoints.py index 52ca9f32be..bc1706806c 100644 --- a/python/qpid/tests/messaging/endpoints.py +++ b/python/qpid/tests/messaging/endpoints.py @@ -39,6 +39,13 @@ class SetupTests(Base): self.conn.open() self.ping(self.conn.session()) + def testOpenReconnectURLs(self): + options = self.connection_options() + options["reconnect_urls"] = [self.broker, self.broker] + self.conn = Connection(self.broker, **options) + self.conn.open() + self.ping(self.conn.session()) + def testConnectError(self): try: # Specifying port 0 yields a bad address on Windows; port 4 is unassigned |
