You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2007/02/12 19:20:33 UTC

svn commit: r506566 - /incubator/qpid/branches/qpid.0-9/python/tests/message.py

Author: gsim
Date: Mon Feb 12 10:20:33 2007
New Revision: 506566

URL: http://svn.apache.org/viewvc?view=rev&rev=506566
Log:
Minor update to checkpoint test


Modified:
    incubator/qpid/branches/qpid.0-9/python/tests/message.py

Modified: incubator/qpid/branches/qpid.0-9/python/tests/message.py
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/tests/message.py?view=diff&rev=506566&r1=506565&r2=506566
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/tests/message.py (original)
+++ incubator/qpid/branches/qpid.0-9/python/tests/message.py Mon Feb 12 10:20:33 2007
@@ -652,13 +652,13 @@
         channel.message_consume(queue = "q", destination = "consumer")
         offset = channel.channel_resume(reference="my-ref", identifier="my-checkpoint").value
         self.assertEquals(offset, 16)
-        channel.message_append(reference="my-ref", bytes="qrstuvwx")
+        channel.message_append(reference="my-ref", bytes="qrstuvwxyz")
         channel.synchronous = False
         channel.message_transfer(routing_key="q-one", message_id="abcd", body=ReferenceId("my-ref"))
         channel.synchronous = True
         channel.message_close(reference="my-ref")
 
-        self.assertDataEquals(channel, self.client.queue("consumer").get(timeout = 1))
+        self.assertDataEquals(channel, self.client.queue("consumer").get(timeout = 1), "abcdefghijklmnopqrstuvwxyz")
         self.assertEmpty(self.client.queue("consumer"))