Author: gsim
Date: Thu Oct 11 01:44:16 2007
New Revision: 583740
URL: http://svn.apache.org/viewvc?rev=583740&view=rev
Log:
Ensure recovered messages have the redelivered flag set
Modified:
incubator/qpid/trunk/qpid/python/tests_0-10/message.py
Modified: incubator/qpid/trunk/qpid/python/tests_0-10/message.py
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/tests_0-10/message.py?rev=583740&r1=583739&r2=583740&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/python/tests_0-10/message.py (original)
+++ incubator/qpid/trunk/qpid/python/tests_0-10/message.py Thu Oct 11 01:44:16
2007
@@ -221,6 +221,7 @@
for d in data:
msg = unconfirmed.get(timeout=1)
self.assertEqual(d, msg.content.body)
+ self.assertEqual(True, msg.content['redelivered'])
self.assertEmpty(unconfirmed)
data.remove(msg.content.body)
msg.complete(cumulative=False)