diff options
author | Rafael H. Schloming <rhs@apache.org> | 2010-03-04 13:16:27 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2010-03-04 13:16:27 +0000 |
commit | 2b53c60cb0b6fadf8a37f1c19b6c7c7607398fcf (patch) | |
tree | c22cad76accce35a52b3f93d87e1f58416e05851 /python/qpid/tests/messaging/message.py | |
parent | a039f33a2fe70549f1a91dc916a1b6d35b6c1da0 (diff) | |
download | qpid-python-2b53c60cb0b6fadf8a37f1c19b6c7c7607398fcf.tar.gz |
added priority and ttl message properties
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918978 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/messaging/message.py')
-rw-r--r-- | python/qpid/tests/messaging/message.py | 6 |
1 files changed, 6 insertions, 0 deletions
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) |