From e26d7c17afc51e5afccbe4114f62e5d5cd030256 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 13 Jul 2010 17:58:44 +0000 Subject: 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 --- python/qpid/tests/messaging/endpoints.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'python/qpid/tests') 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 -- cgit v1.2.1