diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/rpc/test_qpid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/rpc/test_qpid.py b/tests/unit/rpc/test_qpid.py index 1f1a595..ad779f3 100644 --- a/tests/unit/rpc/test_qpid.py +++ b/tests/unit/rpc/test_qpid.py @@ -289,9 +289,9 @@ class RpcQpidTestCase(unittest.TestCase): server_params['username']) self.assertEqual(myself.connection.password, server_params['password']) - self.assertEqual(myself.broker, - server_params['hostname'] + ':' + - str(server_params['port'])) + self.assertEqual(myself.brokers, + [server_params['hostname'] + ':' + + str(server_params['port'])]) MyConnection.pool = rpc_amqp.Pool(FLAGS, MyConnection) self.stubs.Set(impl_qpid, 'Connection', MyConnection) |