You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2014/02/06 14:51:21 UTC
svn commit: r1565256 [2/2] - in /qpid/proton/trunk: ./
proton-j/src/main/java/org/apache/qpid/proton/codec/
proton-j/src/main/java/org/apache/qpid/proton/codec/impl/
proton-j/src/main/java/org/apache/qpid/proton/driver/
proton-j/src/main/java/org/apach...
Modified: qpid/proton/trunk/tests/python/proton_tests/sasl.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/python/proton_tests/sasl.py?rev=1565256&r1=1565255&r2=1565256&view=diff
==============================================================================
--- qpid/proton/trunk/tests/python/proton_tests/sasl.py (original)
+++ qpid/proton/trunk/tests/python/proton_tests/sasl.py Thu Feb 6 13:51:20 2014
@@ -111,18 +111,19 @@ class SaslTest(Test):
self.s2.send(challenge)
self.pump()
ch = self.s1.recv()
- assert ch == challenge, ch
+ assert ch == challenge, (ch, challenge)
response = "It is I, Secundus!"
self.s1.send(response)
self.pump()
re = self.s2.recv()
- assert re == response, re
+ assert re == response, (re, response)
def testInitialResponse(self):
self.s1.plain("secundus", "trustno1")
self.pump()
- assert self.s2.recv() == "\x00secundus\x00trustno1"
+ re = self.s2.recv()
+ assert re == "\x00secundus\x00trustno1", repr(re)
def testPipelined2(self):
self.s1.mechanisms("ANONYMOUS")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org