summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-12 18:20:33 +0000
committerGordon Sim <gsim@apache.org>2007-02-12 18:20:33 +0000
commitd26ea3376f66f69486fe214c8a7a8b96a7605c99 (patch)
tree854d9cf7d4a33dabe42da97466502ffa571946eb
parent3856a4f1fa8adc5ff04949ce37a2b162d7f9dd77 (diff)
downloadqpid-python-d26ea3376f66f69486fe214c8a7a8b96a7605c99.tar.gz
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
-rw-r--r--python/tests/message.py4
1 files changed, 2 insertions, 2 deletions
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"))