Author: gordonsim
Date: 2008-04-14 10:23:46 -0400 (Mon, 14 Apr 2008)
New Revision: 1905
Modified:
store/trunk/cpp/tests/persistence.py
Log:
Use PLAIN rather than the unsupported and non-standard AMQPLAIN
Modified: store/trunk/cpp/tests/persistence.py
===================================================================
--- store/trunk/cpp/tests/persistence.py 2008-04-11 20:02:49 UTC (rev 1904)
+++ store/trunk/cpp/tests/persistence.py 2008-04-14 14:23:46 UTC (rev 1905)
@@ -416,7 +416,7 @@
def connect(self):
""" Connects to the broker """
self.client = qpid.client.Client(self.host, self.port, qpid.spec.load(self.spec,
*self.errata))
- self.client.start({"LOGIN": self.user, "PASSWORD":
self.password})
+ self.client.start("\x00" + self.user + "\x00" +
self.password, mechanism="PLAIN")
self.channel = self.client.channel(1)
self.channel.session_open()
Show replies by date