From d26ea3376f66f69486fe214c8a7a8b96a7605c99 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 12 Feb 2007 18:20:33 +0000 Subject: Minor update to checkpoint test git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506566 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests/message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/tests/message.py b/python/tests/message.py index 5e35fa953f..d044d638e7 100644 --- a/python/tests/message.py +++ b/python/tests/message.py @@ -652,13 +652,13 @@ class MessageTests(TestBase): 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")) -- cgit v1.2.1