From 2b53c60cb0b6fadf8a37f1c19b6c7c7607398fcf Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Thu, 4 Mar 2010 13:16:27 +0000 Subject: added priority and ttl message properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918978 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/tests/messaging/message.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'python/qpid/tests') diff --git a/python/qpid/tests/messaging/message.py b/python/qpid/tests/messaging/message.py index ef2ec1aac4..930c031abb 100644 --- a/python/qpid/tests/messaging/message.py +++ b/python/qpid/tests/messaging/message.py @@ -75,6 +75,9 @@ class MessageEchoTests(Base): assert msg.to == echo.to assert msg.reply_to == echo.reply_to assert msg.correlation_id == echo.correlation_id + assert msg.durable == echo.durable + assert msg.priority == echo.priority + assert msg.ttl == echo.ttl assert msg.properties == echo.properties assert msg.content_type == echo.content_type assert msg.content == echo.content, "%s, %s" % (msg, echo) @@ -111,6 +114,9 @@ class MessageEchoTests(Base): msg.to = "to-address" msg.subject = "subject" msg.correlation_id = str(self.test_id) + msg.durable = True + msg.priority = 7 + msg.ttl = 60 msg.properties = MessageEchoTests.TEST_MAP msg.reply_to = "reply-address" self.check(msg) -- cgit v1.2.1